Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.