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

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).


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

[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.

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

[2005-11-22 13:10:42] cjbj at hotmail dot com

Description:
------------
PHP 5.0 on Windows reads a php.ini located at
c:/Program Files/Apache Group/Apache/conf/httpd.conf
or c:/Program Files/Apache Group/Apache/conf2/httpd.conf.

PHP 5.1.0RC7-dev (Nov 22 2005 08:23:50) does not read
this php.ini.  Phpinfo() shows php.ini as "C:\WINDOWS",
i.e. it has not found a php.ini

This is a backward compatibility breakage I didn't notice
documented in Steph's 5.1 upgrade notes.




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


-- 
Edit this bug report at http://bugs.php.net/?id=35329&edit=1

Reply via email to