php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42000 Installer creates httpd.conf entries in the wrong order
Submitted: 2007-07-15 11:12 UTC Modified: 2008-08-22 18:34 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: colin dot ogilvie at gmail dot com Assigned:
Status: No Feedback Package: Windows Installer
PHP Version: 5.2.3 OS: Windows XP SP2
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: colin dot ogilvie at gmail dot com
New email:
PHP Version: OS:

 

 [2007-07-15 11:12 UTC] colin dot ogilvie at gmail dot com
Description:
------------
When installing PHP5.2.3 with Apache 1.3.37, it automatically creates the required entries for me in httpd.conf.

Unfortunately, it creates them such that Apache won't start.

Expected result:
----------------
Lines will be created as follows;

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache.dll"
PHPIniDir "C:\\Program Files\\PHP\\"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL


Actual result:
--------------
Lines are created as follows:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\\Program Files\\PHP\\"
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL


Apache then fails to load due to the fact it doesn't understand PHPIniDir.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-15 11:24 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

I tried the latest snapshot last night and it worked just fine.

 [2007-07-23 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC