#50369 [Com]: PHP Crashing Apache on Win7x64
| From: | a dot hidden dot figure at gmail dot com | Date: | Mon, 11 Jan 2010 08:54:42 +0000 |
| Subject: | #50369 [Com]: PHP Crashing Apache on Win7x64 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146520@lists.php.net to get a copy of this message | ||
ID: 50369
Comment by: a dot hidden dot figure at gmail dot com
Reported By: amazingant111 at yahoo dot com
Status: Open
Bug Type: Apache2 related
Operating System: win32 only - Windows 7 x64
PHP Version: 5.2.11
New Comment:
The same situation occurred for me with Apache 2.2.14 and PHP 5.3.1 on
Vista Ultimate SP2 x64. Commenting out the lines added by the PHP
installer allowed the server to restart, thus hinting towards something
being wrong with the PHP install.
I was able to get the server working with PHP by re-running the
installer and changing the setup to remove the MSSQL extension, which is
enabled by default in the installer. Even though I have a version of
Microsoft SQL Server (2005 CE) on the computer, it is not properly set
up (I've never had to use it; I had MySQL long beforehand), and thus it
is apparent that the extension requires the software be both present and
active to work.
Previous Comments:
------------------------------------------------------------------------
[2009-12-03 04:43:58] amazingant111 at yahoo dot com
Tried with PHP 5.2.11, same results.
------------------------------------------------------------------------
[2009-12-03 04:36:56] amazingant111 at yahoo dot com
Description:
------------
On the 64-bit version of Windows 7, Apache runs well normally, but
gives the message "The requested operation has failed!" when PHP in
installed and loaded.
Reproduce code:
---------------
Using default php.ini with the following added into httpd.conf by the
PHP installer:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/PHP/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Expected result:
----------------
The web server should begin running and start "serving" pages.
Actual result:
--------------
Apache service gives an error box with no useful information, but adds
the following line to its error log:
[Wed Dec 02 23:14:35 2009] [warn] pid file
C:/Apache/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?
Changing error logging levels in httpd.conf doesn't return any
additional information.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50369&edit=1