Fw: [PHP-GTK] cant find error etc with 0.5
| From: | Ing. Marcos Salvatierra | Date: | Thu, 24 Jan 2002 18:02:33 +0000 |
| Subject: | Fw: [PHP-GTK] cant find error etc with 0.5 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1038@lists.php.net to get a copy of this message | ||
I cannot help about problem over different reference to directories but the
same error messages appear when you have not the next portion of code
beginning your .php script, particulary the first line:
if (!class_exists('gtk')) {
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')
dl('php_gtk.dll');
else
dl('php_gtk.so');
}
Thanks.
Marcos Salvatierra
----- Original Message -----
From: "Simon Wheeler" <fire@firepages.org>
To: "GTK" <php-gtk-general@lists.php.net>
Sent: Monday, January 28, 2002 6:58 AM
Subject: [PHP-GTK] cant find error etc with 0.5
Hi there, just grabbed 0.5.0 and when running as I would usually do so (no
problems with previous version)
when using this (as per normal)
c:\phpdev\GTK\php.exe -q -c c:\phpdev\gtk\php.ini c:\path_to\file.php
I get this
'Warning - Unable to load dynamic library 'C:\PHP4/php_gtk.dll - the
specified mod... etc'
which is no great surprise as I do not have a C:\php4 directory
nor does the php.ini or anything I can find appear to point to this place -
it seems as though thats where it is looking by default ?
Any ideas appreciated
(ps cheers for making glade etc optional the smaller the minimum download
the better (ala plugin etc))
Another note , perhaps you could put in the documentation the need to
specify an alternate php.ini for those windows users with php/apache already
installed - using the -c switch - which I found out here thanks to you good
peeps, but I have had a fair few emails about this - just a thought.
Regards
firepages