note 69856 added to faq.installation

From: Date: Sat, 23 Sep 2006 19:37:02 +0000
Subject: note 69856 added to faq.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-117474@lists.php.net to get a copy of this message
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. ---- Server IP: 66.163.161.117 Probable Submitter: 69.137.70.49 ---- Manual Page -- http://www.php.net/manual/en/faq.installation.php Edit -- https://master.php.net/note/edit/69856 Del: integrated -- https://master.php.net/note/delete/69856/integrated Del: useless -- https://master.php.net/note/delete/69856/useless Del: bad code -- https://master.php.net/note/delete/69856/bad+code Del: spam -- https://master.php.net/note/delete/69856/spam Del: non-english -- https://master.php.net/note/delete/69856/non-english Del: in docs -- https://master.php.net/note/delete/69856/in+docs Del: other reasons-- https://master.php.net/note/delete/69856 Reject -- https://master.php.net/note/reject/69856 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117474) next »