note 87377 added to install.windows.extensions

From: Date: Tue, 02 Dec 2008 16:12:29 +0000
Subject: note 87377 added to install.windows.extensions
Groups: php.notes 
Request: Send a blank email to php-notes+get-147559@lists.php.net to get a copy of this message
Make sure your php.ini file is read at all. I had the problem that on a Windows 2003 Server the php.ini was not read, so only default values were used resulting in no extension modules to work, because they do not reside in C:\PHP5 but in D:\PHP\ext. The output of phpinfo() told me the "Configuration File (php.ini) Path" was "C:\WINDOWS". Well this sounded good to me because I had copied the php.ini file from D:\PHP to C:\WINDOWS. But a path to a directory as a value of "Configuration File (php.ini) Path" instead of the full path to the php.ini file you expect to be read means that NO php.ini file could be found so that the default values are used. What fixed the problem was adding a System variable "PHPRC" set to the path to the directory where the php.ini file is to be found. After rebooting the Server everything was fine - the extension_dir was set correctly and after all I succeeded in connecting to my MySQL-Database-Server. :-) http://www.php.net/manual/en/faq.installation.php #faq.installation.findphpini ---- Server IP: 69.147.83.197 Probable Submitter: 62.225.180.234 ---- Manual Page -- http://www.php.net/manual/en/install.windows.extensions.php Edit -- https://master.php.net/note/edit/87377 Del: integrated -- https://master.php.net/note/delete/87377/integrated Del: useless -- https://master.php.net/note/delete/87377/useless Del: bad code -- https://master.php.net/note/delete/87377/bad+code Del: spam -- https://master.php.net/note/delete/87377/spam Del: non-english -- https://master.php.net/note/delete/87377/non-english Del: in docs -- https://master.php.net/note/delete/87377/in+docs Del: other reasons-- https://master.php.net/note/delete/87377 Reject -- https://master.php.net/note/reject/87377 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#147559) next »