How do I test PHP to make sure that it's working?

For PHP3 create a file in /home/httpd/html/ called test.php3. In this file put the following line only:

               
   <?php phpinfo(); ?>
             

Then browse the page.