php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40125 Apache 2.2 bad php config by MS installer
Submitted: 2007-01-13 19:34 UTC Modified: 2008-08-22 18:07 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: guypazi at gmail dot com Assigned: jmertic (profile)
Status: Closed Package: Windows Installer
PHP Version: 5.2.0 OS: Window XP pro
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:
6 + 46 = ?
Subscribe to this entry?

 
 [2007-01-13 19:34 UTC] guypazi at gmail dot com
Description:
------------
Hi,
I've just installed Apache2.2 and PHP5.2 on a win xp pro with the MS installer.
The following was written to httpd.conf IN A SINGLE LINE making it useless (I broke it so it will be readable) :

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

PHPIniDir "C:\Program Files\PHP\"

LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"

#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-16 11:39 UTC] garjala at gmail dot com
It writes settings in a same way to apache mimetypes file too which apparently makes that useless too.

I think that problem is that installer uses unix style linebreak instead of the one used in windows.
 [2007-01-22 12:45 UTC] jmertic@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 10:01:28 2024 UTC