PHP 5 + Windows XP + Apache 2.0.49 install troubles...

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
NathanBWF
Forum Newbie
Posts: 3
Joined: Tue Apr 20, 2004 9:49 pm

PHP 5 + Windows XP + Apache 2.0.49 install troubles...

Post by NathanBWF »

Trying to get PHP installed. I'm using the MSI installer, PHP seems to install fine...

...now it's time to make the appropriate changes to my httpd.conf file. According to php.net, all I have to do is add in the following lines:

# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"


Well I tried that and it doesn't seem to work. In fact, I can't even restart Apache. First of all, I don't even have a "php5apache2.dll" file in my PHP directory.

Am I misunderstanding something...?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

the MSI installer doesn't come with everything you may need if you want to set up a server with php. It just comes with the command line interface, I believe. You need to download and install the zip.
NathanBWF
Forum Newbie
Posts: 3
Joined: Tue Apr 20, 2004 9:49 pm

Post by NathanBWF »

feyd wrote:the MSI installer doesn't come with everything you may need if you want to set up a server with php. It just comes with the command line interface, I believe. You need to download and install the zip.
Ah hah! Yup, that did it. Sorry, didn't realize the MSI installer was different. Thanks!
Post Reply