ID: 15215 Comment by: arturo_b at hotmail dot com Reported By: php at totti dot de Status: No Feedback Bug Type: *Configuration Issues Operating System: Windows NT 5.1 (XP) PHP Version: 4.1.1 New Comment:
When i ran phpinfo, its gave me a wrong address "c:/php5" value in extension_dir and none value in Configuration File (php.ini) Path, so it never loaded the extensions and connected to mysql; finally i tried adding a new variable named PHPRC with value "C:/PHP" in system environment variable, so windows should read the php.ini inside "C:/PHP" and it did work!!!!!!!!!!!! Make sure you pay attention to this FAQ from the Manual installation instructions: http://www.php.net/manual/en/faq.installation.php#faq.installation.phprc Previous Comments: ------------------------------------------------------------------------ [2006-10-09 18:33:06] registered at morphatic dot com I had the same problem. It turned out that I had improperly defined the PHPRC environment variable. Make sure you pay attention to this FAQ from the Manual installation instructions: http://www.php.net/manual/en/faq.installation.php#faq.installation.phprc ------------------------------------------------------------------------ [2006-09-08 04:07:14] joebeazelman at hotmail dot com Ditto. I am running XP with IIS 5. I removed all traces of php.ini from my system and only left a copy in the root folder of my php 4 installation and phpinfo still said it found the php.ini file in my windows directory. ------------------------------------------------------------------------ [2006-05-03 15:24:11] t dot johnson at intercall dot ie I have incountered the same issue with php 5.1.2 and iis 6 on all 3 of our servers. The phpinfo() reports c:\windows as the location of php.ini on all installations which were manually configured. the error occurs on clean systems with nothin but OS, IIS and pho installed. Does anyone have any further info on this problem? ------------------------------------------------------------------------ [2002-02-28 00:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-01-27 15:11:58] san...@php.net Do you mean the PHP installer? Anyway, Christoph is right, it doesn't look at the version string but it just tries your Windows-directory. phpinfo() reports where it has found php.ini. Look at that path. It should really work if you place it in c:\windows. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15215 -- Edit this bug report at http://bugs.php.net/?id=15215&edit=1