Re: standalone application
| From: | firepages.com.au | Date: | Wed, 06 Nov 2002 03:48:16 +0000 |
| Subject: | Re: standalone application | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2590@lists.php.net to get a copy of this message | ||
Hi, (for win32) if you dump all the dll's into one folder (& a php.ini) then
you can distribute that , PHP is happy enough if the dll's live in the same
folder.
The only issue is starting the script in the first place as you require a
rather user-unfriendly command-line to do it and you need to know where the
user has installed the folder, but check out http://www.cweiske.de/ which
has a php.exe that may not need such a dodgy command line? (not tried yet)
and !may! allow you to include a batch file like
php.exe -q -f scripts/myfile.php
without having to set all the paths etc eg
c:\$wherever\php\php.exe -q -c c:\$wherever\php\php.ini -f
c:\$wherever\php\scripts\myfile.php
which is a bummer since you dont know for sure where $wherever is going to
be.
else look at the free/open-source? NSIS installer from Nullsoft.com which
gives you control over where your scripts will be installed and can for
instance create a batch file for you to suit the installation directory.
Simon Wheeler
----- Original Message -----
From: "Alexander Kuznetsov" <sanych@cstrade.koenig.ru>
To: <php-gtk-general@lists.php.net>
Sent: Friday, November 01, 2002 10:21 PM
Subject: [PHP-GTK] standalone application
> Hello ,
>
> Is there any way to make with PHP-GTK standalone application
> which would be working on system without php installed?
>
> I mean I can place nessecary dll-s and php.exe and php.ini
> into application folder.
>
> Is it possible?
>
> Thank you!
>
> Alexander
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>