XAMPP PHP Apache localhost problem?

Steve

New member
I installed XAMPP for windows.

I wrote a simple hello world program (hello.php) and saved it with a PHP extension.

I then placed several copies in several folders ("hdocs", "PHP/WWW", and a 3rd copy in apache's root directory). I did that b/c still not sure where to place the PHP program.

When I type (http:///localhost/hello.php), (http://127.0.0.1/hello.php), or (http://"my IP address"/hello.php) I get an error that the link is broken (in Chrome) and another that there is no such address (in IE)

I tried to start Apache by clicking on the "apache_start" MS-DOS batch file (part of XAMPP) but I got an error message "Apache cannot be started"

What steps am I missing? Am I supposed to set the path (like in Java)? How do I start Apache? I read so many forums and tutorials on the web, but there is no mention of how to fix this problem.

Thank you for your help.
 
Back
Top