#28520 [Opn->Csd]: The PHPRC environment variable does not change the PHP.INI location
ID: 28520
User updated by: alex_mailbox53 at yahoo dot com
Reported By: alex_mailbox53 at yahoo dot com
-Status: Open
+Status: Closed
Bug Type: *Configuration Issues
Operating System: Windows 2000
PHP Version: 5.0.0RC2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-05-25 21:07:39] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28520&edit=1
Thread (2 messages)