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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 - 18 = ?
Subscribe to this entry?

 
 [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-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 17:03:35 2022 UTC