php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #23980 PHP.INI installed in wrong directory
Submitted: 2003-06-03 05:52 UTC Modified: 2011-01-10 13:03 UTC
From: edy at hinzen dot de Assigned: jmertic (profile)
Status: Wont fix Package: Windows Installer
PHP Version: 4.3.2 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: edy at hinzen dot de
New email:
PHP Version: OS:

 

 [2003-06-03 05:52 UTC] edy at hinzen dot de
_Problem_
Using php-4.3.2-installer.exe on a PC that has several windows versions installed, php.ini is stored in C:\WINDOWS\ regardless of the current windows directory.

_Solution_
The installer should test the %windir% environment variable.

_Workaround_
Manually remove C:\WINDOWS\php.ini
- to %windir% to hold this file for this OS only, or:
- to the location of php.exe to hold the file for all OS in common.

Sincerely
Edy Hinzen

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 01:42 UTC] jani@php.net
-Package: Feature/Change Request +Package: Windows Installer
 [2011-01-10 13:03 UTC] jmertic@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: jmertic
 [2011-01-10 13:03 UTC] jmertic@php.net
PHP 4.3.2 installer has been long deprecated.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC