#32962 [Opn->Asn]: Installer puts php.ini in wrong location
| From: | sniper@php.net | Date: | Sun, 06 Nov 2005 23:01:15 +0000 |
| Subject: | #32962 [Opn->Asn]: Installer puts php.ini in wrong location | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87721@lists.php.net to get a copy of this message | ||
ID: 32962
Updated by: sniper@php.net
Reported By: ash at theleys dot net
-Status: Open
+Status: Assigned
Bug Type: IIS related
Operating System: Windows Server 2003
PHP Version: 5.0.4
Assigned To: phildriscoll
New Comment:
Phil, there's the feedback you asked. (given same day, but you didn't
notice?)
Previous Comments:
------------------------------------------------------------------------
[2005-05-09 11:38:37] 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-05-09 11:01:08] 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-07 06:14:01] sniper@php.net
Assigning to the author of the installer.
------------------------------------------------------------------------
[2005-05-06 13:18:01] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32962&edit=1