Fw: Re: [PHP-GTK] php_win.exe > php.exe not found

From: Date: Sun, 12 Jan 2003 04:31:04 +0000
Subject: Fw: Re: [PHP-GTK] php_win.exe > php.exe not found
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2893@lists.php.net to get a copy of this message
php_win.exe can not be compared to php.exe or php-cgi .exe. It is a small wrapper application for php.exe. It will look for php.exe and launch it if it can find it, using the argument as the input. It looks for php.exe in c:\php4 d:\php4 PATH if it still cant find the file it looks for the environment bariable PHP_BIN (this should be an absolute path). I have not tested using the -c option, but looking at the code I asume that it should work. - Frank > Hi, if I use the php_win.exe from a batch file all is well in that > > c:\path\php_win.exe -c c:\path\php.ini file.php > saved as test.bat executes as expected on-click > > but trying to set a file association in the windows registry using the > same command line fails with a 'php.exe was not found ' message. > > I only have this problem with php_win.exe , not php.exe or php-cgi.exe etc > > it works if the script is in the php root directory but not if its elsewhere - is there a > workaround for this ? >

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