ID: 50369 Updated by: paj...@php.net Reported By: amazingant111 at yahoo dot com -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: win32 only - Windows 7 x64 PHP Version: 5.2.11 New Comment:
It is not a crash but a missing DLL, which is not distributed by PHP and required by the mssql libraries/clients. Previous Comments: ------------------------------------------------------------------------ [2010-01-11 08:54:41] a dot hidden dot figure at gmail dot com 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. ------------------------------------------------------------------------ [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