From: ben dot arnold dot spam at hotmail dot com
Operating system: Windows Vista
PHP version: 5.3.1
PHP Bug Type: Windows Installer
Bug description: PHP doesn't start: ntwdblib.dll not found
Description:
------------
I am running Apache 2.2.14. I do not have a database installed.
What I did:
1. Downloaded latest version of PHP (php-5.3.1-Win32-VC6-x86.msi)
2. Ran the installer using default values except:
* Web server: Apache 2.2.x Module
* Apache configuration directory: C:\Program Files\Apache Software
Foundation\Apache2.2\conf\
3. Tried to start Apache.
4. Tried to run PHP by entering "php" in a command window.
What happened:
1. Apache failed to start. A dialogue box says "The requested operation
has failed" and Windows error reporting kicked in. There is no error in
Apache's error.log.
2. When I tried to start php I get an error dialogue box titled "php.exe -
Unable To Locate Component". The text of the box is:
This application has failed to start because ntwdblib.dll was not found.
Re-installing the application may fix this problem.
What I expected to happen:
1. I expected that Apache would start with PHP loaded as a module. I
expected to be able to put a php file in my htdocs directory and that I
could get it to display a Hello World message when I requested it through
Apache.
2. I expected PHP to display usage information when run from the
commandline.
I have tried uninstalling PHP, downloading the installer again and
reinstalling but I have the same problem.
When I uninstall PHP Apache works normally again.
I have Googled this error message and seen various people report that it
is connected to a database misconfiguration. I currently do not have a
database installed and have done nothing to configure one in PHP. All my
configuration steps are listed above.
I am unable to "copy ntwdblib.dll from MSSQL 2000" as suggested in bug
#38849 because I do not have MSSQL installed. In any case that bug looks
like it is related to a different problem (I am not trying to connect to a
database I am just trying to launch PHP).
--
Edit bug report at http://bugs.php.net/?id=50268&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50268&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50268&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50268&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50268&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=50268&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50268&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=50268&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=50268&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=50268&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=50268&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=50268&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=50268&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=50268&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50268&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50268&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50268&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=50268&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=50268&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=50268&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=50268&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=50268&r=mysqlcfg