I had Acquia drupal 6 stack running in Windows 7 64bit fine a few months ago. However I recently started up the console and I could not get to the site because Apache is not running now.

The event viewer shows this error: Faulting application name: httpd.exe, version: 2.2.14.0, time stamp: 0x4ac181d6
Faulting module name: php5ts.dll, version: 5.2.13.13, time stamp: 0x4b853813
Exception code: 0xc0000005
Fault offset: 0x000f351c
Faulting process id: 0x13d0
Faulting application start time: 0x01cb7083dd242e94
Faulting application path: C:\Program Files (x86)\acquia-drupal\apache\bin\httpd.exe
Faulting module path: C:\Program Files (x86)\acquia-drupal\apache\bin\php5ts.dll
Report Id: 1c574c13-dc77-11df-8c67-005056c00008

If I go to the acquia-drupal/php directory and run php.exe - v I get the message php5ts.dll is missing but it is not in the php directory.

Seems the files are there but is it possible my path or an system or user environment variable has been changed in windows? Anybody know which variables have to be set?

Comments

aloyr’s picture

The following is from http://goo.gl/HS7B

Apache seems to start fine without PHP enabled (commenting out the PHP lines at the bottom of your httpd.conf file), but with PHP enabled it doesn’t start and you get the above log entry in your system logs.

The Solution

If you are using the MSI installer for PHP, by default the installer seems to enable MSSQL. Disabling this extension should fix all your woes.

If you are still having issues, here are some things to check:

  • Make sure Apache CAN start without PHP enabled.
  • Make sure PHP is set in your PATH environment variable.
  • Make sure you downloaded the correct version of PHP for your system (basically VC9 for IIS or VC6 for Apache).

If you are in need of the MSSQL extension, your issue maybe that you do not have a certain DLL installed (ntwdblib.dll). I’m a MySQL user myself, so I’m not going to go into details other than: here is a quick reference that might help (good luck). http://goo.gl/fGKt

perl -e 'print unpack(u,";8F4@=&AE(&-H86YG92P@=7-E(&1R=7!A;\"\$*");'