Re: Can PHP and PHP-GTK Co-Exist

From: Date: Wed, 19 May 2004 21:09:42 +0000
Subject: Re: Can PHP and PHP-GTK Co-Exist
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4523@lists.php.net to get a copy of this message
I have one PHP4 and one PHP5 directory on my system. I can use the exact same version of php for IIS, Apache and PHP-GTK applications. The only thing you need to do is to use the dl() command to load the gtk extension, as this extension can only be loaded by CGI or CLI versions of PHP. You can share the same php.ini file and have it it the same directory as the rest of the PHP binaries. - Frank > Newbie question here... > > On Win2K, Apache 1.3.27, (trying to install) PHP 4.3.6, MySQL 4.0.16 ... > > Can I have PHP web-based apps and PHP-GTK executables working on the same > machine, (and off of the same php.ini, dll, and lib files)? I'm asking > because I'm running into problems with the configuration for this type of > set-up. Where do I put php.ini, php4ts.dll, and php4ts.lib, for example? > For web apps, I've kept the php.ini file in the directory with the > Apache.exe file, but I'm not sure this is working with PHP-GTK. > > Thanks, > > David

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