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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alex_mailbox53 at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri May 03 22:01:33 2024 UTC