logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: help with apache 2.0.59 and PHP 5.2.3 configuration
Author
usom



Joined: 22 Aug 2007
Posts: 1

PostPosted: Wed 22 Aug '07 10:47    Post subject: help with apache 2.0.59 and PHP 5.2.3 configuration Reply with quote

I had error 404 on my browser even though my apache server is working. I configured the apache file according to this instructions posted on this site

http://www.skiffie.com/code/server/php-as-apache-module

LoadModule php5_module "X:/Program Files/Apache Group/php/php-5.2.0-Win32/php5apache2.dll"

PHPIniDir "X:/Program Files/Apache Group/php/php-5.2.0-Win32"

AddType application/x-httpd-php .php

AddType application/x-httpd-php-source .phps

Is there anything additional I need to do? I am using XP. Somebody help please..
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Aug '07 12:25    Post subject: Reply with quote

Is that on a test page? on every page? what does the error log say?
Back to top
drizzitwill



Joined: 18 Sep 2007
Posts: 4
Location: Idaho

PostPosted: Tue 18 Sep '07 3:25    Post subject: i'm in school for this Reply with quote

Navigate to C:/apache2/conf and open httpd.conf for edit

Add the following lines to the httpd.conf file. add them directly below the block of loadmodule entries located at the bottom of the Global Environment section.(if your php files are all saved to c:/php5)

#LoadModule php5_module c:/php5/php5apache2.dll
#AddType application/x-httpd-php .php
#PHPIniDir "C:\php5"
Back to top


Reply to topic   Topic: help with apache 2.0.59 and PHP 5.2.3 configuration View previous topic :: View next topic
Post new topic   Forum Index -> Other Software