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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 20:01:28 2024 UTC