gtk and current apache/php setup

From: Date: Sun, 21 Oct 2001 07:08:37 +0000
Subject: gtk and current apache/php setup
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-358@lists.php.net to get a copy of this message
Hi there, GTK newbie here, I have (on WinXP & 98) PHP4.06 as an apache module... this means I have to have the php.ini in the system directory , (as a CGI its happy enough in the php dir) So, when I run PHP-GTK files, PHP finds my exisiting php.ini in the system directory, and throws up errors everywhere , the usual suspects... i.e. 'can not find extension ..' , 'zend push_stack? .... etc. Now sometimes the GTK files still work, but most of the time they do not, unless I remove (rename) my WINNT\php.ini. Any ideas how to get around this, i.e. is there anyway to force the php.exe that I use for GTK to accept the php.ini in the gtk\php directory rather than the system directory? Or better still, am I being a complete muppet and missing a much more obvious solution? (note I have to use the latest PHP version for my apache setup, and I ain't going back to CGI) OK, I can develop GTK with apache turned off and php.ini renamed- that is not a problem, but I am making a GUI for changing apache settings so I need to run both at once, one of the functions will be to swap PHP from module to CGI 'runtime' etc, so I would really like to get over this hurdle. PS Thanks for a very cool tool & please keep up the good work, I always knew that PHP owned ,- now its gets better! cheers. Simon Wheeler, firepages

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