ID: 29694 Comment by: metallica at zoznam dot sk Reported By: mvl22 at mailinator dot com Status: Closed Bug Type: Documentation problem Operating System: Windows XP PHP Version: 5.0.1 New Comment:
Windows XP SP1 Apache/1.3.31 PHP 4.3.9 SetEnv is visible in phpinfo() generated table, however PHP is still looking for php.ini on C:\WINDOWS. So it DIDN'T work for me. Please change the instructions in install.txt too, if possible. Thank you. Previous Comments: ------------------------------------------------------------------------ [2004-09-28 13:59:20] [EMAIL PROTECTED] With Apache/1.3.31 (Win32) PHP/5.0.2 setting PHPRC did not work. Setting the system enviroment variable did work. I'm not sure what you did vrana, but I think if it doesn't work in all cases it's best to pretend it doesn't exist! I've changed the documentation to reflect these new steps. Thanks for the bug report and help making our documentation better. ------------------------------------------------------------------------ [2004-09-27 20:14:48] ipa at beta dot lt Tried 5.0.2 + Apache 1.3.27 (instead of 5.0.1) 1. putting php.ini into apache dir started working 2. adding PHPRC into environment works (Rasmus was right) ------------------------------------------------------------------------ [2004-09-27 09:57:32] [EMAIL PROTECTED] Result of a test under Windows XP: Apache 2.0.50 - PHP 5: SetEnv PHPRC works Apache 1.3.27 - PHP 5: SetEnv PHPRC works Apache 1.3.27 - PHP 4: SetEnv PHPRC doesn't work Apache 2.0.50 - PHP 4: SetEnv PHPRC doesn't work Strange, it's different from what other people say. ------------------------------------------------------------------------ [2004-09-27 01:44:07] [EMAIL PROTECTED] PHP checks the real environment, not the Apache environment for PHPRC. Changing this to a documentation problem. ------------------------------------------------------------------------ [2004-09-26 12:35:55] astervick at infinito dot it PHP 5.0.2 W2000 with all the patches about security Apache 1.3 Php.ini is not read where I tell Apache with setenv PHPRC.. in httpd.conf I put it in c:\WINNT and php.ini is read and it's ok Thanks to people who wrote about this before me! Ciao ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29694 -- Edit this bug report at http://bugs.php.net/?id=29694&edit=1