Re: Fatal error with 'DB.php' - solution
| From: | jsWalter | Date: | Thu, 17 Jul 2003 23:53:02 +0000 |
| Subject: | Re: Fatal error with 'DB.php' - solution | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20824@lists.php.net to get a copy of this message | ||
"Jswalter" <jsWalter@torres.ws> wrote in message
news:20030705220045.18691.qmail@pb1.pair.com...
> OK, I solved it.
>
> It seems that I **HAVE TO**, **MUST**, **NO CHOICE** place my php.ini in
> C:\WINNT (for NT and 2k) or PHP will not find it. This is a hardcoded path
> done at compile time.
OK, correction, if your interested.
By placing an environmental variable in your system PHPRC and then placing
%PHPRC% in your PATH, Windows will now let PHP open the php.ini in the php
directory! Either from Apache *or* php.exe!
OK, now I'm happy. the ini is now OUT of the windows directory.
Thanks for all who gave advice.
Walter