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?

 

 

Link to comment
Share on other sites

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.