php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43892 PHP.INI file misplaced
Submitted: 2008-01-19 00:55 UTC Modified: 2008-08-22 18:29 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dima at desktopfay dot com Assigned:
Status: Not a bug Package: Windows Installer
PHP Version: 5.2.5 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dima at desktopfay dot com
New email:
PHP Version: OS:

 

 [2008-01-19 00:55 UTC] dima at desktopfay dot com
Description:
------------
MSI installer creates and modifies PHP.INI file in PHP folder (C:\Program Files\PHP by default);
However PHP.INI from *Windows* folder is actually used.

Reproduce code:
---------------
Try to enable MySQL extension using MSI installer.
Delete PHP.INI in Windows folder, which may already exist there (e.g. from v4.x installation).

Expected result:
----------------
MySQL functions should work.

Actual result:
--------------
The PHP.INI is successfully modified in PHP folder.
MySQL functions are still not defined.

You have to move PHP.INI from PHP folder to Windows folder by hand. Then everything begins to work.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-26 01:00 UTC] jani@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 17:03:36 2021 UTC