The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP - Testing Our Work: Is Apache working? (Page 8 of 11 )
If it worked correctly you will see something similar to this screen capture, when you connect to the server with Netscape. This is basically the Apache default installed page. Hopefully you will create a cool looking site, and change this page.
NOTE: You can connect to the server with a DOMAIN name or using the actual IP of the box. Check both cases, to ensure that everything is working properly.

{mospagebreak title=Is PHP Support Working?} Now will test for PHP support. Create a file called test.php information below in it. The file needs to be located in the document root path which should be setup by default to /usr/local/apache/htdocs. Note that this is dependent on the prefix that we chose initially. However, this could be changed in the httpd.conf. Setting up multiple virtual hosting will be another article, keep your eyes open for it, as it will cover some very basic options in setting up Apache and its directives.
<? phpinfo(); ?> This will display information about server, php, the environment, and a couple of other things. Here is a screen capture of the top portion of the output page.
Pretty cool. PHP rules!!!
Next: Is SSL Working? >>
More PHP Articles
More By Israel Denis Jr. and Eugene Otto