Bug #15215 Updated: Wrong path for php.ini under Windows XP (Home and Professional)

From: Date: Thu, 28 Feb 2002 05:00:04 +0000
Subject: Bug #15215 Updated: Wrong path for php.ini under Windows XP (Home and Professional)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1240@lists.php.net to get a copy of this message
ID: 15215 Updated by: php-bugs@lists.php.net Reported By: php@totti.de -Status: Feedback +Status: No Feedback Bug Type: *Configuration Issues Operating System: Windows NT 5.1 (XP) PHP Version: 4.1.1 New Comment: No feedback was provided for this bug for over a month, 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". Previous Comments: ------------------------------------------------------------------------ [2002-01-27 15:11:58] sander@php.net Do you mean the PHP installer? Anyway, Christoph is right, it doesn't look at the version string but it just tries your Windows-directory. phpinfo() reports where it has found php.ini. Look at that path. It should really work if you place it in c:\windows. ------------------------------------------------------------------------ [2002-01-27 15:05:09] phpbugs@gordimer.net This has never happened to me. My php.ini gets parsed whether it resides in windows directory (for sapi-version) or in php-directory for cgi. I'm using XP Pro, but it also works with NT 4 and non-standard windir-name (winntw). Christoph ------------------------------------------------------------------------ [2002-01-24 19:14:40] php@totti.de If you install the Windows binaries on Systems running Windows XP, PHP assumes that there is a system directory 'C:\winnt\' because of the version string reported by Windows (Windows NT 5.x). As there is no such Dir (under Win XP the System Dir is named 'C:\Windows\' by default), php.ini is not found. I couldn't find help in creating this dir and put the .ini file in. Also the 'php.ini' is not found if simply put in the path. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15215&edit=1

« previous php.bugs (#1240) next »