Self - Contained Distribution.
| From: | will at 25sucks dot com | Date: | Thu, 15 Dec 2005 22:51:47 +0000 |
| Subject: | Self - Contained Distribution. | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6403@lists.php.net to get a copy of this message | ||
I'm trying to create a self-contained runtime environment for my windows
GTK app
so that I can deploy on another machine without php installed by
"xcopying" the data.
I have the following structure
c:\mygtk\php-win.exe
c:\mygtk\php.ini
c:\mygtk\mygtk.php
c:\mygtk\mygtk.bat (starts the app)
c:\mygtk\lib\ (contains all php_gtk_*.dll and php_*.dll
needed by the app)
mygtk.bat contains the following:
.\php-win.exe -q -c .\php.ini .\mygtk.php
php.ini has been modified
extension_dir = ".\lib"
When I run mygtk.bat it always returns "unable to load dynamic library
.\lib\php_gtk.dll"
Even though that's where it is located. I'm having trouble with paths.
They seem to make sense, but they're not working.
Any help would be appreciated
thanks
will