#29694 [Com]: SetEnv PHPRC in httpd.conf has no effect
| From: | bgleason at mwgl dot org | Date: | Fri, 10 Sep 2004 17:24:20 +0000 |
| Subject: | #29694 [Com]: SetEnv PHPRC in httpd.conf has no effect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66025@lists.php.net to get a copy of this message | ||
ID: 29694
Comment by: bgleason at mwgl dot org
Reported By: mvl22 at mailinator dot com
Status: Open
Bug Type: Apache related
Operating System: Windows XP
PHP Version: 5.0.1
New Comment:
Same here... It kept trying to set the directory to c:\php5 for me even
though I specified d:\php...
windows 2003 server running apache 1.3.31. If you need any other
information just shoot me an email...
Previous Comments:
------------------------------------------------------------------------
[2004-09-03 18:29:18] ipa at beta dot lt
I have same problem in same configuration, and can add that it doesn't
see php.ini file in apache directory. Only "C:/windows" (default), or
path set in registry key "HKLM\Software\PHP\IniFilePath" works for me.
------------------------------------------------------------------------
[2004-08-16 04:44:22] mvl22 at mailinator dot com
Description:
------------
http://www.php.net/manual/en/install.windows.apache1.php
states
"
# specify the directory where php.ini is
SetEnv PHPRC C:/php
"
My httpd.conf has
SetEnv PHPRC "C:/program files/php"
in it and, after reboot, phpinfo () gives:
Configuration File (php.ini) Path C:\WINDOWS
but
PHPRC C:/program files/php
is shown (which is correct).
php.ini does exist at C:/program files/php/php.ini
Using c:/progra~1/php with or without a trailing slash does not change
the situation.
PHP5.0.1 is otherwise working fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29694&edit=1