Jump to content

Archived

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

mndwn

Apache v2 Installation on XP

Recommended Posts

Hello, I have installed Apache on my Xp system using the .msi installation. But what do I do now to configure it so that when I open up PHP files, it displays the PHP script on the page? I have downloaded and installed php-4.3.2-installer.exe

Share this post


Link to post
Share on other sites

There should a link created under \"Configure Apache Server\" called \"Edit the Apache httpd.conf Configuration File\"

 

Open that file and add the following lines at the end

## PHP Settings



LoadModule php4_module "C:/php/sapi/php4apache2.dll"

AddType application/x-httpd-php .php

 

This is provided that a php is installed in C:php.

Share this post


Link to post
Share on other sites

×

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.