Jump to content

Recommended Posts

Dear all,

I just recently installed php 5.3.1 VC6 x86 Thread Safe on Windows XP. When I try to run php-win.exe, I got the following error:

This application failed to start because ntwdblib.dll was not found. Re-installing the application may fix this problem.

What is this error? I googled through and I found some bugs that related to missing ntwdblib.dll file. Is this a bug? How can I solve this?

 

Best regards,

ethereal1m

ive also got the same error on windows 7 home premium,

 

the error only appears if i try to start apache directly from httpd.exe

if i attempt to start it from the apache monitor i get: "The requested operation has failed" however nothing is logged.

 

I noticed that if i remove the php info from the httpd.conf

 

ie:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

PHPIniDir "C:/apacheserver/php/"

LoadModule php5_module "C:/apacheserver/php/php5apache2_2.dll"

#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

 

then apache will start,

 

oddly enough i have to remove both lines, if i remove only the ini directive, or only the load_module directive i get the same error.

 

 

Isn't that removing both directives disabling php on Apache?

 

I just figure it out that the ntwdblib.dll is required for MSSQL, and I don't have it installed. I will try to reinstall this without the wizard and do it manually instead.

I dont think it is anything to do with an sql server, as it is those two php directives:

 

PHPIniDir "C:/apacheserver/php/"

LoadModule php5_module "C:/apacheserver/php/php5apache2_2.dll"

 

that are causing it to crash.

isn't that those directives required to load PHP to Apache?

 

When you install php with MSSQL module included, it was looking for ntwdblib.dll. And since you don't have MSSQL installed, php cannot find it and complains.

 

 

 

 

I finish installing php5 successfully and manually. Looks like congfig wizard makes me messing up with the configuration.

 

@ blueman378

I just want to reiterate that those two lines are required to run PHP5 on Apache 2.2. You have to include those directives otherwise your Apache doesn't load PHP5 that you just installed. I suggest you do the manual installation by following this link http://www.php.net/manual/en/install.windows.manual.php

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.