Jump to content

Recommended Posts

I hope for the sake of my sanity and the safety of my computer someone can help. I have been trying to install php5 to use with apache2 and windows xp. Apache installs fine and when you look up localhost you see the apache welcome screen no problems. Then the fun begins I download php5 save it to C drive under PHP5 move and rename the php.ini file to WINDOWS. Then move php5ts.dll to WINDOWS-SYSTEM32. Edit the apache config file with the usual LoadModule and AddType info. Then create phpinfo file store it in htdocs in apache. When I try to access it in IE, Firefox or Opera all I get is the error 404 file not found message. If you load a html page into the browser this works fine.

I have restored my computer numerous times to rectify the problem but every time same message. No matter where you move the files always the same. The sad thing is I had php5 and apache running on the computer fine before.

PLEASE SOMEONE HELP ME.

Woody.
Link to comment
https://forums.phpfreaks.com/topic/14060-error-404/
Share on other sites

Ok got the answer. Installation was done correctly, Apache configured correctly the error was that notepad text editor was creating phpinfo file as a text file not a php file even though .php extension was used that was all it was 10 days of searching for that. Readjusted text editor and up popped the correct screen.

Many Many Thanks to all those who tried to help. And thanks to forum for letting me post query.

Cheers
Link to comment
https://forums.phpfreaks.com/topic/14060-error-404/#findComment-55737
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.