#29694 [NEW]: SetEnv PHPRC in httpd.conf has no effect
| From: | mvl22 at mailinator dot com | Date: | Mon, 16 Aug 2004 02:44:23 +0000 |
| Subject: | #29694 [NEW]: SetEnv PHPRC in httpd.conf has no effect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-64662@lists.php.net to get a copy of this message | ||
From: mvl22 at mailinator dot com
Operating system: Windows XP
PHP version: 5.0.1
PHP Bug Type: Apache related
Bug description: SetEnv PHPRC in httpd.conf has no effect
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 bug report at http://bugs.php.net/?id=29694&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29694&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29694&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29694&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29694&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29694&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29694&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29694&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29694&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29694&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29694&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29694&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29694&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29694&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29694&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29694&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29694&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29694&r=float