I have a php file named "test.php" in htdocs folder, when I open a browser and type "localhost/test.php" and press enter, Google Chrome telling me "This webpage is not available", and Firefox telling me "Unable to connect".
But when I type "localhost" and press enter, it opens the default html file that named "index.html" and located in htdocs folder that says "It works!" which means that Apache is running correctly.
What is the problem please?
[SOLVED] Thanks all, problem solved when I installed Appserve now. the problem was because I installed Apache & PHP each separately, and make some changes in httpd.conf file.