note 69856 deleted from faq.installation by sean

From: Date: Wed, 02 Apr 2008 16:22:36 +0000
Subject: note 69856 deleted from faq.installation by sean
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137863@lists.php.net to get a copy of this message
Note Submitter: signd3 at yahoo dot com ---- re: Installation FAQ 13-Sep-2006 07:03 If you put the full path to your php.ini including the filename in the environmental variable PHPRC, my suspicion is you are in fact not using the php.ini that you think you are. Look at the contents of phpinfo() to verify this, and you will probably see that your php.ini location is C:\\Windows. The reason for this is that if php does not find a valid php.ini in any path, it will load a default configuration. I too had the problem that when I set the PHPRC variable, the preprocessor was not parsing php content. When I made the change of PHPRC to the full path C:\\php\\php.ini and restarted IIS, it worked, but none of my settings in php.ini were in place. Eventually I tracked my problem down to the recommended php.ini was causing my problem, and when I used php.ini-dist, everything worked correctly. My PHPRC is now set to C:\\php, and phpinfo() correctly displays my php.ini path as C:\\PHP\\php.ini. I can assure you the steps in the FAQ are correct for IIS 5.1, with php 5.1.6 isapi dll. Hope this helps someone else.

« previous php.notes (#137863) next »