php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46603 Installation fails ....
Submitted: 2008-11-18 13:46 UTC Modified: 2008-12-24 01:00 UTC
From: ktildsley at btinternet dot com Assigned: jmertic (profile)
Status: No Feedback Package: Windows Installer
PHP Version: 5.2.6 OS: xp2
Private report: No CVE-ID: None
 [2008-11-18 13:46 UTC] ktildsley at btinternet dot com
Description:
------------
Attempting to upgared from PHP 4 to 5. Used the installer for windows, seemed to work, no problems. However, when Apache starts it complains about the end of httpd.conf, namely the line PHPIniDir "C:/Program Files/PHP5/"
Errors says PHPIniDir is an invalid command.

Removing the offending (to see what happens)line leads to an error that Apache can't find php5apache2_2.dll in the path given, even though the file is most certainly there.

Furthermore, after uninstalling PHP5, IE no longer executes Apache/PHP4, the browser just attempts to download the php file, rather than having Apache/PHP4 execute it. Configuration files are the way they have been for last two years, so not sure what has got meesed up by installing and then uninstalling PHP5

Expected result:
----------------
I expected the installer to work.

Actual result:
--------------
Apache.exe no longer runs but generates error message detailed above.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-18 13:51 UTC] ktildsley at btinternet dot com
A Google search for "PHPinidir invalid command" throws up a bunch of pages where people seem to have the same problem.
 [2008-12-16 21:11 UTC] jmertic@php.net
Make sure all traces of PHP 4 are removed, and the PHPRC env variable is properly set and the path to php5apache2_2.dll is correct. It sounds like the traces of PHP 4 are causing problems.
 [2008-12-24 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: Thu Oct 31 23:01:28 2024 UTC