<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
2. If you want to view a page through Apache, you have to start the server up, then type the localhost address to the page you want to view. The page has to be under the htdocs directory for Apache to parse it. Apache won't recognize it's supposed to parse anything if you use the /usr/local/apache/htdocs/phppage.php URL. For example, the URL for above would be http://localhost/phppage.php.
3. You can find out the extensions Apache identifies PHP files with by looking in your httpd.conf, as you said. If you save that file in that extension and it still doesn't work, check out some of the threads in the Windows Installation forum to find out how to add another PHP extension to httpd.conf.
Position your cursor at the beginning of that line, and remove the hash or pound sign (#). It should now look like this:
LoadModule php5_module libexec/apache2/libphp5.so
This enables PHP 5 on your computer.
error_reporting(E_ALL);