Bug #53696 [Asn->Csd]: erroneous automatic entry into httpd.conf
| From: | jmertic@php.net | Date: | Wed, 19 Jan 2011 20:57:49 +0000 |
| Subject: | Bug #53696 [Asn->Csd]: erroneous automatic entry into httpd.conf | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158018@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53696&edit=1
ID: 53696
Updated by: jmertic@php.net
Reported by: helge dot rowold at datendrexler dot de
Summary: erroneous automatic entry into httpd.conf
-Status: Assigned
+Status: Closed
Type: Bug
Package: Apache2 related
Operating System: Windows 7
PHP Version: 5.3.5
Assigned To: jmertic
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
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.
Previous Comments:
------------------------------------------------------------------------
[2011-01-10 11:18:51] alvaro at demogracia dot com
Same symptoms here under Windows XP. Apache cannot find
php5apache2_2.dll even if at default location:
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 516 of C:/Archivos de
programa/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot
load C:/Archivos de programa/Apache Software
Foundation/Apache2.2/php5apache2_2.dll into server: No se puede
encontrar el m\xf3dulo .
Copying settings from PHP/5.3.4 fixes the issue:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Archivos de programa/PHP/"
LoadModule php5_module "C:/Archivos de programa/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
------------------------------------------------------------------------
[2011-01-08 14:57:09] pajoye@php.net
hi John,
Something went wrong in the last installer update.
------------------------------------------------------------------------
[2011-01-08 14:53:42] helge dot rowold at datendrexler dot de
Description:
------------
After having installed httpd-2.2.17-win32-x86-openssl-0.9.8o.msi
successfully, but NOT at the default path but at a separate HDD
partition with a non-default root directory, I was able to install the
php-5.3.5-Win32-VC6-x86.msi at the same partition in a non-default
directory, too. The installer echoed that everything would have been
done well.
But the Apache Service did not start, then!
At the end I was able to fix the issue:
In httpd.conf, the PHP installer had tried to add the default linkage
from HTTPD to PHP by adding the lines
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir ""
LoadModule php5_module "php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
- i. e., PHP was NOT able to set the correct (non-default) path to
its own directory (which would have been, by the way,
"D:/Programme/PHP535/").
Test script:
---------------
Please see above - addition of the correct path in httpd.conf did fix
the error.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53696&edit=1