Re: GTK with PHP 4.2.1 on Win2000

From: Date: Wed, 26 Jun 2002 16:44:42 +0000
Subject: Re: GTK with PHP 4.2.1 on Win2000
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2170@lists.php.net to get a copy of this message
yep, that was a bad thing :\ for a start the gtk dlls (as opposed to the php-gtk dlls) need to live in the system32 directory. It's only the php dlls, the php exe (s) and php.ini that should be in the php-gtk dir. for a second thing you really do need to keep web stuff well away from gui stuff, it will mess you up not to do so. That's the whole point of localizing the php.ini for a third thing you need to adapt your php.ini to its new role in life. Mine for php-gtk looks like this: error_reporting = E_ALL include_path = "." php-gtk.extensions = php_gtk_libglade.dll, php_gtk_sqpane.dll (and nothing else) you can't give up yet :) try installing x-basic and you'll be grateful for php-gtk ... ----- Original Message ----- From: "Jason Matteson" <JasonM@reslife.org> To: <php-gtk-general@lists.php.net> Sent: Wednesday, June 26, 2002 2:34 PM Subject: Re: [PHP-GTK] GTK with PHP 4.2.1 on Win2000 > Thank Steph! Here is what my c:\php-gtk directory looks like now: > > c:\php-gtk: > > news > php.ini > php.exe > php-win.exe > (all 13 dlls from the php-gtk-0.5.1-win32.zip file downloaded from > gtk.php.net) > test (Folder with test files in it) > > and that's it. i deleted the php4 and WINNT directories cause I figured > since all the files are in the php-gtk directory anyway, I didn't need them. > Was that a bad thing? > > When I type this in the command line from php-gtk directory: > > c:\php-gtk>php -q c:\php-gtk\test\hello.php > > and I get all sorts of errors like: > > "gd: Unable to initialize module > Module compiled with module API-20020429, debug=0,thread-safety=1 > PHP compiled with module API-20010901, debug=0, thread-safety=1 > These options do not match" > > (I get same thing with java, and mssql) > > and error > "The procedure entry point php_sock_fread could not be located in the > dynamic link library php4ts.dll" > (same thing with zif_warn_not_available, php_fopen_wrapper, and > php_file_le_fopen) > > and error > "Unable to load DLL 'c:\WINNT\SYSTEM32/php_mig.dll' - The specified > procedure could not be found." > (also with php_pdf.dll, and php_zlib.dll) > > I think I am about to give up..... > > thanks for all your help! > -jason > >

« previous php.gtk.general (#2170) next »