Jump to content

Windows - Can I run Thread safe and Non-Thread safe binaries at same time?


Recommended Posts

I am running on Windows Server 2008, using Apache version 2.2.16 (Windows), with PHP 5.3.3 VC6, non-thread safe.

 

I was running PHP as a FastCGI application using mod_fcgid, but my system became very unstable. I would like to try to switch to running PHP as an Apache module to see if this helps, but the Apache module is not available in the non-thread safe versions of PHP.

 

I tried downloading the Apache module (php5apache2_2.dll) directly, and dropped it in my PHP folder. I added a LoadModule directive in httpd.conf, (LoadModule php5_module "c:/php/php5apache2_2.dll") - but I am getting an error that says:

 

"httpd.exe: Syntax error on line 129 of C:/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php5apache2_2.dll into server: The specified module could not be found. "

 

I know the path to my php module is correct, so is there something else I'm missing? If I initially installed PHP using a non-thread safe installer package, is there something more required in order to run PHP as a thread safe Apache module?

 

 

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.