Jump to content

php extension crashes apache


Recommended Posts

hi everyone,

I have been searching EVERYWHERE for a solution to this problem but so far my search has proven unsuccessful!

On my local machine i have a WAMP stack and it was working fine until after I installed a new php extension (it was PDO). Now Apache can't start up and the error log says "unclean shutdown of previous Apache run?"

 

i managed to narrow it down to these (see below) as being the trouble makers.

 

[php_PDO_OCI]

extension=php_pdo_oci.dll

 

[php_PDO_OCI8]

extension=php_pdo_oci8.dll

 

[php_PDO_PGSQL]

extension=php_pdo_pgsql.dll

 

[php_PDO_SQLITE_EXTERNAL]

extension=php_pdo_sqlite_external.dll

 

When these are commented out apache runs and local host is accessible. Being new to this whole thing I don't really know what these things do so my question is what will happen if I just leave these commented out? Will they affect anything in any way?

 

Problems like this are usually caused when you use .dll files that weren't built for the exact version and flavor of php.

 

Did you use .dll files that came with your php distribution or how did you obtain the .dll files?

The extensions were installed when PHP was installed so the dll files just came with whatever is in the setup for php..

I had installed php previously when the wamp was working and then uninstalled it to reinstall it with the added extension

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.