Jump to content


apache2.0.5 and php5 help

  • Please log in to reply
1 reply to this topic

#1 timtam

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 29 October 2005 - 11:27 AM

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?

#2 timtam

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 30 October 2005 - 04:27 AM

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;

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users