Jump to content

apache2.0.5 and php5 help


timtam

Recommended Posts

Hey guys,

I was hoping someone might be able to tell me what I have done wrong with my installation of php and apache.

I am using apache 2 and php5 on a windows xp OS (with sp2).

My installation of apache was fine. According to me. When I typed in the localhost in firefox I got the desired page.

The problem I have is installing php.

This is what I have done thus far.

I got the zip file and extracted it to C:\php

From here took the php-recomended file into C:\windows and renamed it to php.ini

 

I placed (as i want to install as a module instead of the a cgi)

 

# 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"

 

at the bottom of the httpd.conf file.

I have also set the path ;C:\php;

 

I have done (as far as I know) everything that the documents have said.

 

But it is not working. I get a 404 error

what have I missed out?

Link to comment
https://forums.phpfreaks.com/topic/2759-apache205-and-php5-help/
Share on other sites

I don't know what happened between yesterday and today. But when I put on the computer I get the desired results. That is to say that in the when i use phpinfo(); to check and see if the php installation is working I was getting a 404 error message.

Anyway, just thought I would say that the php installation is up and running;

Link to comment
https://forums.phpfreaks.com/topic/2759-apache205-and-php5-help/#findComment-9261
Share on other sites

Archived

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

×
×
  • Create New...

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.