#19647 [Opn->Bgs]: PHPRC does not work in WindowsXP
ID: 19647
Updated by: iliaa@php.net
Reported By: dsmidgy@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows XP
PHP Version: 4.2.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
On windows PHP 1st checks the current directory for existance of
php.ini file. If the file is not found, it checks inside the
%systemroot% directory. If the file is still not found that built-in
defaults are assumed.
Previous Comments:
------------------------------------------------------------------------
[2002-09-28 05:56:58] dsmidgy@yahoo.com
When I set enviroment variable PHPRC=d:\php and put php.ini into this
directory the php.exe acted as there is no php.ini file (I guess
php.exe does not look into PHPRC). I tryed to set PHPRC=d:\php\ and
PHPRC=d:\php\php.ini. It only works when php.ini is in %systemroot%.
SET command Command promt lists this: PHPRC=d:\php
so I know (I think) I set it right. Is there any solution?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19647&edit=1
Thread (4 messages)