Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
php not working ,please help?
hi i had installed xampp and started apache and mysql, i wrote a small code in php and save at c:/xampp/htdocs/examples.but when ever i try to execute from a site like localhost/examples/test.php,it shows error, saying 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
05/16/12 14:12:45
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
it had restart apache several times but same error,please help, any one ready to help online>???
5 Answers
- 9 years agoFavorite Answer
First thing first.When you type start apache and type localhost in browser, does the apache loads its welcome page saying "It Works!!!".
If yes, Then your apache installation is perfect.
Then try a small code of php...
<?php
phpinfo()
?>
and save it as .php file in htdocs and execute the program. If a php page is displayed with its configuration details than PHP and apache works seamlessly. So you can ensure that your php is too installed properly.
If this all things works properly than there sholud'nt be a problem with any of your programs in php residing in htdocs.
Cheers!
- JimLv 79 years ago
examples must be a directory in this case.
I highly suggest you use this setup: and by the way, XHTML is not properly served up by default in Apache's default httpd.conf
also, if your c:\windows\system32\drivers\etc\hosts does not have
127.0.0.1 localhost
in it, you won't be able to serve up localhost.
I have had troubles with the IPV6 ::1 localhost and apache so I have had to comment it out for the time being.
- 4 years ago
very own living house web site is a internet app language. There are unix verions of very own living house web site, and that they paintings jsut to boot by using reality the living house living house windows ameliorations. yet very own living house web site is a internet app based language. it extremely works with the internet server to technique very own living house web site code in a very own living house web site or html checklist. and it will output the html code to teh end man or woman.
- How do you think about the answers? You can sign in to vote the answer.