Azimout's Linux weblog

Apache2.2 + PHP5.3.5 on Windows

leave a comment »

The recommended version of PHP for Apache2.2 on Windows (VC6-compiled, thread-safe) crushes my Apache. Instead the VC9-compiled version works like a charm!


  • Go ahead and use the .msi installer.
  • Installing to a path that including spaces (default path: C:\Program Files\PHP) also seems to be no problem.
  • Choose the “Apache 2.2.x Module” option and give it the path to Apache.
  • Then modify Apache’s configuration file (path_to_apache\conf\httpd.conf) and add the path to PHP:
PHPIniDir "C:\Program Files\PHP"
LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"

Written by azimout

28/02/2011 at 13:46

Posted in Problems

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: