473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Error 404 Php5

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
7 6646
What does it say in the error log?
Jul 10 '06 #2
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
1,754 Expert 1GB
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
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
1,754 Expert 1GB
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
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
1,044 Expert 1GB
Don't wake up long dead threads.
Jul 2 '07 #8

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

Similar topics

11
by: neur0maniak | last post by:
Hi, I've been eager to try out PHP5, so I've dumped it on my little dev machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the "mappings" page as I'm used to doing with PHP4....
5
by: red | last post by:
I don't see why mysql is telling me the following is a syntax error: create table articles { file char(30) not null }; What is wrong with that ?
0
by: Darek | last post by:
Hello, I'm trying to install PHP5. My configure is ../configure --with-apxs=/usr/local/sbin/apxs -- prefix=PREFIX=/usr/local/php5/ --with-mysql --disable-pear then make and make install ...
1
by: Mike | last post by:
Last weekend I decided to install Apache 2.0.53-win32-x86-no_ssl PHP 5.0.3 Smarty 2.6.7 MySQL essential-4.1.10-win32 I have Apache up (Port 80 blocked at the router and firewall!) and I have...
5
by: awdsites | last post by:
Hi, I'm a noob with a server so keep that in mind :) Been trying to connect with php to mysql and all I get is: "Fatal error: Call to undefined function: mysql_connect()" I've read and read...
1
by: th.evensen | last post by:
Hi, I've written a script that use the imap functions to check my accounts for new messages. It works great from a server, but when trying to run it from the command line I get the following...
9
by: java | last post by:
Hey there, I just removed an elderly PHP4-Installation from my Windows-Box and installed PHP 5.2.1. I used the PHP4-Module as local batchfile- interpreter by E:\ersDHCP>php ./extractLog.php ...
4
by: dougans | last post by:
Hey there, Hope someone can help me, completely stuck with immigrating from php4 to OOP based php5. == index.php -- include(database.inc.php);
16
by: lawrence k | last post by:
I've never before written a PHP script to run on my home Ubuntu machine (though I've written dozens of PHP cron jobs for my web server), so I thought I'd start off with a very simple test: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.