#28520 [NEW]: The PHPRC environment variable does not change the PHP.INI location
| From: | alex_mailbox53 at yahoo dot com | Date: | Tue, 25 May 2004 19:07:40 +0000 |
| Subject: | #28520 [NEW]: The PHPRC environment variable does not change the PHP.INI location | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-59975@lists.php.net to get a copy of this message | ||
From: alex_mailbox53 at yahoo dot com
Operating system: Windows 2000
PHP version: 5.0.0RC2
PHP Bug Type: *Configuration Issues
Bug description: The PHPRC environment variable does not change the PHP.INI location
Description:
------------
I'm trying to change the INI file location using
- apache.php5.bat -
set PATH=C:\amp\php-5.0.0RC2;C:\amp\php-5.0.0RC2\ext
set PHPRC=C:\amp\php-5.0.0RC2
C:\amp\apache-1.3.27\Apache\Apache.exe -D PHP5
- --------------- -
And no effect.
The similar file for PHP4 works well:
- apache.php4.bat -
set
PATH=C:\amp\php-4.3.6;C:\amp\php-4.3.6\extensions;C:\amp\php-4.3.6\dlls
set PHPRC=C:\amp\php-4.3.6
C:\amp\apache-1.3.27\Apache\Apache.exe -D PHP4
- --------------- -
PHP Info in both cases shows the PHPRC variable with corresponded value,
but the INI file is changed for PHP4 only. PHP5 shows the c:\WINNT.
--
Edit bug report at http://bugs.php.net/?id=28520&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28520&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28520&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28520&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28520&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28520&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28520&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28520&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28520&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28520&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28520&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28520&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28520&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28520&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28520&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28520&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28520&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28520&r=float