php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50506 PHP module crashes with Apache 2.2.14
Submitted: 2009-12-17 10:08 UTC Modified: 2009-12-17 14:31 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: anonymousnetuser at yahoo dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.3.1 OS: Windows 7 Ultimate 64bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: anonymousnetuser at yahoo dot com
New email:
PHP Version: OS:

 

 [2009-12-17 10:08 UTC] anonymousnetuser at yahoo dot com
Description:
------------
PHP module in apache crashes upon startup


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-17 10:19 UTC] johannes@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2009-12-17 10:21 UTC] johannes@php.net
oh and which php dowload did you use and where did you download the apache from?
 [2009-12-17 13:31 UTC] anonymousnetuser at yahoo dot com
I read the instructions for backtrace but I cannot follow them.
They require MSVC6 compiler which I don't have and other isntructions 
which I cannot follow.
I would attach the crash report generated by windows but I cannot find 
any attach link on this tool

php was downloaded from
http://windows.php.net/download/
the link
http://windows.php.net/downloads/releases/php-5.3.1-Win32-VC6-x86.zip

and apache from
http://httpd.apache.org/download.cgi
the link
http://apache.cc.uoc.gr/httpd/binaries/win32/apache_2.2.14-win32-x86-
openssl-0.9.8k.msi
 [2009-12-17 14:09 UTC] pajoye@php.net
First all be sure that it is actually a crash and not some bad configuration.

Disable all extensions in php.ini and restart apache. I'm pretty sure that you are only missing some DLLs.
 [2009-12-17 14:19 UTC] anonymousnetuser at yahoo dot com
I tried to run PHP through the command line and I get the following 
error.

ntwdblib.dll is missing.

I googled around and found that this a deprecated Microsoft library for 
MSSQL db.

could this be the problem for the module also;
If this is the case why does PHP requires some obsolete library;
is there an official place to get this library;
 [2009-12-17 14:20 UTC] anonymousnetuser at yahoo dot com
I will of course follow your isntructions and see if there is an option 
for MSSQL that might cause this problem
 [2009-12-17 14:29 UTC] anonymousnetuser at yahoo dot com
I commented out everything abot MSSQL and it worked.

So the problem was with the missing ntwdblib.dll

Comment out everything about MSSQL and it will work
 [2009-12-17 14:31 UTC] pajoye@php.net
Not a bug > bogus.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Mar 27 01:00:01 2026 UTC