Jump to content


Photo

Apache v2 Installation on XP


  • Please log in to reply
1 reply to this topic

#1 mndwn

mndwn
  • Members
  • Pip
  • Newbie
  • 8 posts
  • LocationNSW, Australia

Posted 10 July 2003 - 02:48 PM

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
<?php
function cheers($message) {
if (!isset($message)) {
$message = "Cheers!";
} echo ("$message"); exit(); }  cheers(); ?>
m5Central.net <Developing PHP-Based Solutions for the Future>

#2 bid

bid
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationDhaka, Bangladesh

Posted 28 July 2003 - 07:54 PM

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 SettingsLoadModule php4_module "C:/php/sapi/php4apache2.dll"AddType application/x-httpd-php .php

This is provided that a php is installed in C:php.
bidyut.com [br][gt 2003]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users