ID: 35329 Comment by: stan64 at gmail dot com Reported By: cjbj at hotmail dot com Status: No Feedback Bug Type: *General Issues Operating System: win32 PHP Version: 5.1.0 New Comment:
I have got this bug also on 2 systems with alot of installation methods and with both 5.0.4 and 5.1.1. First off PHP won't work if I set PHPIniDir to a wrong path other than the config file lies within. When it's pointed at the wrong location phpinfo says that it have found a ini file in the windows directory. Though it does not contain such a file. I try to put my file there and it don't read it. It still reads it imaginary file that is supposed to be located in the windows directory. I have read through the installation steps carefully, tried all helpful comments. Tried things I found on google. And all with the same result. Previous Comments: ------------------------------------------------------------------------ [2005-12-06 01:00:08] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, 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". ------------------------------------------------------------------------ [2005-12-01 18:13:35] thejkwhosaysni at gmail dot com I have exactly the same problem with both php5.1.0 and php5.1.1. Putting php.ini into apache2/bin does not work either. Nor the php directory itself. ------------------------------------------------------------------------ [2005-11-28 17:10:28] [EMAIL PROTECTED] CWD (why it checked the Apache dir) is now only searched when running under CLI. Either this is really a bug or FAQ in the manual should be changed to say to use Apache/bin (path is checked in 5.0 and 5.1 at least since its the binary location). ------------------------------------------------------------------------ [2005-11-28 15:19:43] [EMAIL PROTECTED] Chris, can you try using filemon from sysinternals to see if it's trying to access alternate php.ini paths? ------------------------------------------------------------------------ [2005-11-23 02:54:38] cjbj at hotmail dot com When I upgraded from 5.5 to 5.1, I had to 0. Unzip 5.1 to c:\php5-win32-latest 1. Edit c:/Program Files/Apache Group/Apache2/conf/httpd.conf and change: LoadModule php5_module "c:/php5.0-win32-200511031730/php5apache2.dll" to LoadModule php5_module "c:/php5-win32-latest/php5apache2.dll" 2. Edit c:\Program Files\Apache Group\Apache2\php.ini and change: extension_dir = "c:\php5.0-win32-200511031730\ext" to extension_dir = "c:\php5-win32-latest\ext" 3. Copy c:\Program Files\Apache Group\Apache2\php.ini to c:\WINDOWS Step 3 was not needed when upgrading any 5.0.x to 5.0.y. ------------------------------------------------------------------------ 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/35329 -- Edit this bug report at http://bugs.php.net/?id=35329&edit=1