ID:               35329
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cjbj at hotmail dot com
-Status:           Assigned
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: win32
 PHP Version:      5.1.0
 Assigned To:      wez
 New Comment:

This is no bug, it has been documented like this forever:
http://www.php.net/manual/en/configuration.php#configuration.file

What you've relied upon was an undocumented bug.


Previous Comments:
------------------------------------------------------------------------

[2005-12-13 01:38:12] stan64 at gmail dot com

Ok, so I used filemon to see where it checked for php.ini.

I put it in php root, that is in path and PHPIniDir. And it finds the
file reads it and php don't work. I use the recommended ini configured
like the last versions that worked.

If I try to put it in Windows then... The read pattern is similiar for
alot of scrolling but it never looks for php.ini outside of the php
directory. PHP works and says it found the ini in the windows
directory. Though the settings n phpinfo do NOT represent the ini I put
there.

------------------------------------------------------------------------

[2005-12-13 01:13:50] stan64 at gmail dot com

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.

------------------------------------------------------------------------

[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

Reply via email to