#29694 [Com]: SetEnv PHPRC in httpd.conf has no effect
| From: | ipa at beta dot lt | Date: | Fri, 03 Sep 2004 16:29:24 +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-65694@lists.php.net to get a copy of this message | ||
ID: 29694
Comment by: ipa at beta dot lt
Reported By: mvl22 at mailinator dot com
Status: Open
Bug Type: Apache related
Operating System: Windows XP
PHP Version: 5.0.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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