From: <php...@li...> - 2010-03-14 06:35:57
|
Hi again, the PHP windows installer has several issues. Please do not use it. 1. It incorrectly sets a PHPRC environment variable which points to an non-existing directory on a non-english windows version 2. It is not possible to install a fastcgi SAPI and a Apache/IIS SAPI at the same time. The installer tries to remove one or the other. 3. Installing everything installs garbage extensions which crash PHP. 4. The PHP binaries compiled with VC9 have several run-time issues. On Sat, 2010-03-06 at 16:32 +0100, php...@li... wrote: > The tomcat was already running before I installed PHP using the > installer package for windows... I have tested the PHP 5.3.2 installer on a Windows XP system. I have selected "other cgi", selected the install directory c:\Programme\PHP and rebooted the computer. You're right, the PHP installer sets a PHPRC environment variable. But on my Windows XP copy it points to an empty directory c:\Program Files \PHP. The install dir is c:\Programme\PHP. Since PHPRC points to an empty directory, PHP ignores it and uses the defaults. To work around this issue I have added a blacklist to the PHP/Java Bridge version 6.1.0. From the NEWS file: Version 6.1.0 * Some Windows PHP install procedures destroy a local PHP executable by setting a "PHPRC" environment variable. This environment variable may have been useful in the past, but it disturbs modern PHP executables. Environment entries passed to PHP are now filtered through a blacklist, see PHP_ENV_BLACKLIST in global.properties in JavaBridge.jar. The list can be changed as usual. Example global.properties file: PHP_ENV_BLACKLIST = KEY1 KEY2 KEYN Example command line: java -Dphp.java.bridge.php_env_blacklist="key1 key2 keyN" -jar JavaBridge.jar ... Regards, Jost Bökemeier |