php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32962 Installer puts php.ini in wrong location
Submitted: 2005-05-06 13:18 UTC Modified: 2005-12-27 01:00 UTC
From: ash at theleys dot net Assigned: phildriscoll (profile)
Status: No Feedback Package: IIS related
PHP Version: 5.0.4 OS: Windows Server 2003
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-05-06 13:18 UTC] ash at theleys dot net
Description:
------------
Using the php-5.0.4-installer.exe puts php.ini into c:\docs&settings\administrator\WINDOWS\ - not in c:\windows, therefore it's not available, and causes "500" errors. - Found this out by parsing from php -i and noticing Configuration File (php.ini) Path was set wrongly.

Expected result:
----------------
phpinfo (or whatever the web page contains)

Actual result:
--------------
500 CGI Error

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-07 06:14 UTC] sniper@php.net
Assigning to the author of the installer.

 [2005-05-09 11:01 UTC] phildriscoll@php.net
I don't have Windows Server 2003, and I can't reproduce 
the problem on W2K Advanced Server (the only Windows 
machine I have). Can you tell me what the value of the WIN 
environment variable is when you are logged in as 
administrator? 
 
Thanks 
 [2005-05-09 11:38 UTC] ash at theleys dot net
Under this comment are all the environment variables, - there isn't a "win" one, but "windir" is pointing to the correct folder. - This was installed with me using a terminal services session, but that's not been a problem before. (the comp. names have been changed here for privacy)

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Administrator\Application Data
CLIENTNAME=CHANGEDTOPROTECTSERVER
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=CHANGEDTOPROTECTSERVER
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
LOGONSERVER=\\HENRYV
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0209
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=RDP-Tcp#1
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1
USERDOMAIN=HENRYV
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
windir=C:\WINDOWS
 [2005-11-07 00:01 UTC] sniper@php.net
Phil, there's the feedback you asked. (given same day, but you didn't notice?)
 [2005-12-19 09:09 UTC] sniper@php.net
Does this happen with the latest release? (5.1.1)
 [2005-12-19 20:23 UTC] nlopess@php.net
the installer shouldn't even put anything in C:\windows or C:\winnt folders.
 [2005-12-27 01:00 UTC] 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".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Jan 23 06:03:36 2022 UTC