Problem with php in xampp v 1.6.7! Need Help!!!!!
Posted: 21. August 2008 16:30
Hi there! I'm a newbie to php and also to xampp. I've installed xampp v 1.6.7 just a while back. As far as xampp installation is concern it was successful and I got the msg after the installation was over! My o/s is Windows XP, service pack 2. I installed xampp in N:\Program Files\xampp;(N is the o/s installation drive)
I installed both Apache and MySql as services. I checked my Apache installation by typing http://localhost on the browser's address field and I've been directed to the xampp index page(it was successful).
Then I wrote a simple HTML file and named it hello.html and placed it to the N:\Program Files\xampp\htdocs\hello.html
Then I opened the browser and and typed http://localhost/hello.html on the address field and directed to the desired page though it was also a success. :
But, now here comes the sorry tale..
Then I wrote the simplest code in php as :
<?php
phpinfo();
?>
and saved it as info.php at N:\Program Files\xampp\htdocs\info.php
Then again I opened the browser and typed on the address field http://localhost/info.php
and got the following Error:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/21/08 20:26:12
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6
I've already searched the forum but failed to get any solutions regarding this!!!!!!!!
I'm really hopeless at this moment and have left with no other choice than posting this message to the forum!!!!!
Is there anyone who can HELP me out?????!!!!!?????
Please help me! I'll be grateful to you!!!!
I'll be waiting for your reply!!!!!
I installed both Apache and MySql as services. I checked my Apache installation by typing http://localhost on the browser's address field and I've been directed to the xampp index page(it was successful).
Then I wrote a simple HTML file and named it hello.html and placed it to the N:\Program Files\xampp\htdocs\hello.html
Then I opened the browser and and typed http://localhost/hello.html on the address field and directed to the desired page though it was also a success. :
But, now here comes the sorry tale..
Then I wrote the simplest code in php as :
<?php
phpinfo();
?>
and saved it as info.php at N:\Program Files\xampp\htdocs\info.php
Then again I opened the browser and typed on the address field http://localhost/info.php
and got the following Error:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/21/08 20:26:12
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6
I've already searched the forum but failed to get any solutions regarding this!!!!!!!!
I'm really hopeless at this moment and have left with no other choice than posting this message to the forum!!!!!
Is there anyone who can HELP me out?????!!!!!?????
Please help me! I'll be grateful to you!!!!
I'll be waiting for your reply!!!!!