#31082 [NEW]: PHPRC variable has no affect
| From: | djslakor at hotmail dot com | Date: | Tue, 14 Dec 2004 04:12:46 +0000 |
| Subject: | #31082 [NEW]: PHPRC variable has no affect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-70185@lists.php.net to get a copy of this message | ||
From: djslakor at hotmail dot com
Operating system: Windows XP Professional SP 2
PHP version: 4.3.10RC2
PHP Bug Type: *Configuration Issues
Bug description: PHPRC variable has no affect
Description:
------------
As documented in install.txt:
Adding:
SetEnv PHPRC C:/php
to httpd.conf
OR
setting PHPRC as a system variable
both have no affect in changing the location of php.ini. For example, if
php.ini resides in C:/php, using either of the above methods does not
work, and default values are loaded instead.
php.ini _is_ however recognized if it is placed in %systemroot% or the web
server root (i.e. c:\apache).
Thanks
--
Edit bug report at http://bugs.php.net/?id=31082&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31082&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31082&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31082&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31082&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31082&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31082&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31082&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31082&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31082&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31082&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31082&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31082&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31082&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31082&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31082&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31082&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31082&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31082&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31082&r=mysqlcfg