Bug #53696 [NEW]: erroneous automatic entry into httpd.conf
| From: | helge dot rowold at datendrexler dot de | Date: | Sat, 08 Jan 2011 13:53:43 +0000 |
| Subject: | Bug #53696 [NEW]: erroneous automatic entry into httpd.conf | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-157758@lists.php.net to get a copy of this message | ||
From:
Operating system: Windows 7
PHP version: 5.3.5
Package: Apache2 related
Bug Type: Bug
Bug description:erroneous automatic entry into httpd.conf
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 bug report at http://bugs.php.net/bug.php?id=53696&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53696&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53696&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53696&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53696&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53696&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53696&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53696&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53696&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53696&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53696&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53696&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53696&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53696&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53696&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53696&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53696&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53696&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53696&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53696&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53696&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53696&r=mysqlcfg