By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,953 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,953 IT Pros & Developers. It's quick & easy.

Error 404 Php5

P: 3
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
Jul 9 '06 #1
Share this Question
Share on Google+
7 Replies


P: 3
What does it say in the error log?
Jul 10 '06 #2

P: 3
What does it say in the error log?
This is what the error log says:-

[Mon Jul 10 12:20:41 2006] [notice] Parent: Created child process 3740
[Mon Jul 10 12:20:41 2006] [notice] Child 3740: Child process is running
[Mon Jul 10 12:20:41 2006] [notice] Child 3740: Acquired the start mutex.
[Mon Jul 10 12:20:42 2006] [notice] Child 3740: Starting 250 worker threads.
[Mon Jul 10 12:25:26 2006] [notice] Parent: Created child process 224
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Child process is running
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Acquired the start mutex.
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Starting 250 worker threads.
[Mon Jul 10 12:32:28 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Jul 10 12:32:28 2006] [notice] Child 224: Exit event signaled. Child process is ending.
[Mon Jul 10 12:32:28 2006] [notice] Parent: Created child process 3588
[Mon Jul 10 12:32:28 2006] [notice] Child 3588: Child process is running
[Mon Jul 10 12:32:29 2006] [notice] Child 224: Released the start mutex
[Mon Jul 10 12:32:29 2006] [notice] Child 3588: Acquired the start mutex.
[Mon Jul 10 12:32:29 2006] [notice] Child 3588: Starting 250 worker threads.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: All worker threads have exited.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: Child process is exiting
[Mon Jul 10 12:32:34 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 10 12:32:34 2006] [notice] Child 3588: Exit event signaled. Child process is ending.
[Mon Jul 10 12:32:35 2006] [notice] Child 3588: Released the start mutex
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: All worker threads have exited.
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: Child process is exiting
[Mon Jul 10 12:32:36 2006] [notice] Parent: Child process exited successfully.
[Mon Jul 10 12:32:42 2006] [notice] Parent: Created child process 2904
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Child process is running
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Acquired the start mutex.
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Starting 250 worker threads.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:38:09 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 10 12:38:09 2006] [notice] Child 2904: Exit event signaled. Child process is ending.
[Mon Jul 10 12:38:10 2006] [notice] Child 2904: Released the start mutex
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: All worker threads have exited.
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: Child process is exiting
[Mon Jul 10 12:38:11 2006] [notice] Parent: Child process exited successfully.
[Mon Jul 10 12:47:03 2006] [notice] Parent: Created child process 1248
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Child process is running
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Acquired the start mutex.
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Starting 250 worker threads.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:51:40 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Jul 10 12:51:40 2006] [notice] Child 1248: Exit event signaled. Child process is ending.
[Mon Jul 10 12:51:40 2006] [notice] Parent: Created child process 2908
[Mon Jul 10 12:51:40 2006] [notice] Child 2908: Child process is running
[Mon Jul 10 12:51:41 2006] [notice] Child 2908: Acquired the start mutex.
[Mon Jul 10 12:51:41 2006] [notice] Child 1248: Released the start mutex
[Mon Jul 10 12:51:41 2006] [notice] Child 2908: Starting 250 worker threads.
[Mon Jul 10 12:51:42 2006] [notice] Child 1248: Waiting for 250 worker threads to exit.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:51:51 2006] [notice] Child 1248: All worker threads have exited.
[Mon Jul 10 12:51:51 2006] [notice] Child 1248: Child process is exiting
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
Jul 10 '06 #3

sashi
Expert 100+
P: 1,754
Hi there,

follow the steps below.. it works fine for me and hope it works for you too.. good luck my fren.. :)

http://www.freeangle.com/article/setup_apache_php/
http://www.expertsrt.com/tutorials/M...ll-apache.html
Jul 10 '06 #4

P: 3
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
Jul 10 '06 #5

sashi
Expert 100+
P: 1,754
Hi there,

congrats on the research of yours.. :) atleast it paid of.. good luck my fren.. hope to see you around with more question.. take care..
Jul 10 '06 #6

P: 1
Hello I am New in the Forum.

I have the same problem i can't see anything using phpinfo() and I can't understand
what my friend wants to say with the text editor.

PhpInfo() function gives a blank page.

Do you know what the problem might be?
Jul 2 '07 #7

kovik
Expert 100+
P: 1,044
Don't wake up long dead threads.
Jul 2 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.