Configure Apache with PHP

First of all, change the permissions of the htdocs folder so users can write to it. That way you can edit files there.

Also, when using Apache 2.2, in httpd.conf, paste this in at the bottom of the file:

LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

Notice that it's php5apache2_2.dll, not php5apache2.dll.

php5apache2.dll will make Apache fail to start.

Comments

Popular posts from this blog

Date Dimension Table Definition

Remote GUI Access from Windows to Linux

Stop Flickering Pointer in Vista's Windows Explorer