#35329 [Opn->Fbk]: php.ini location changed between 5.0 and 5.1

From: Date: Mon, 28 Nov 2005 14:19:44 +0000
Subject: #35329 [Opn->Fbk]: php.ini location changed between 5.0 and 5.1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89231@lists.php.net to get a copy of this message
ID: 35329 Updated by: wez@php.net Reported By: cjbj at hotmail dot com -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: win32 PHP Version: 5.1.0 New Comment: Chris, can you try using filemon from sysinternals to see if it's trying to access alternate php.ini paths? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#89231) next »