php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28520 The PHPRC environment variable does not change the PHP.INI location
Submitted: 2004-05-25 21:07 UTC Modified: 2004-05-25 21:13 UTC
From: alex_mailbox53 at yahoo dot com Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 5.0.0RC2 OS: Windows 2000
Private report: No CVE-ID: None
 [2004-05-25 21:07 UTC] alex_mailbox53 at yahoo dot com
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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-25 21:13 UTC] alex_mailbox53 at yahoo dot com
I'm very sory. Actually, the C:\amp\php-4.3.6 did not contain the php.ini. When I place it there everything becamed ok.

Canceled.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC