Gary, although small errors in httpd.conf account for most install glitches, you didn't provide enough details of your configuration for others to make informed suggestions. Indicate your operating system, and which drive and directory you installed apache and php under, and then paste into your reply here the relevant lines from your httpf.conf file. For example, here they from my httpd.conf file. My install is working fine (I have no idea why--if anyone notes any redundancy or goofiness in one or more of these config lines below, please post a correcting comment!).
Further below are some installation resources. If you continue to have problems, try downloading one of the preconfigured install bundles listed below. Finally, the install tutorials given further below are all excellent.
If you've already solved the matter, perhaps post a reply saying what was wrong (whether simple or complicated--many others will benefit from it). Good luck.
ServerRoot "C:/ALLWEBDEV/apache"
DocumentRoot "C:/ALLWEBDEV/www"
ScriptAlias /php/ "C:/ALLWEBDEV/php/"
ScriptAlias /php4/ "C:/ALLWEBDEV/php/"
AddType application/x-httpd-php4 .php .phtml .htm .html
AddType application/x-httpd-php .php .phtml .htm .html
Action application/x-httpd-php4 "/php/php.exe"
Action application/x-httpd-php "/php/php.exe"
Alias /mysql/ "C:/ALLWEBDEV/phpmyadmin/"
PHP FOR WINDOWS INSTALL BUNDLES (PHP4x PRECOMPILED BINARIES + APACHE + MYSQL)
http://www.firepages.com.au/phpdev.htm (free)
http://www.phpgeek.com/ (free)
http://php.weblogs.com/easywindows (free) (GD gif dll is here too)
http://www.abriasoft.com/ (free and fee versions)
http://www.nusphere.com/products/index.htm
(the latter supplies manuals and tech support, and costs $79)
PHP INSTALLATION TUTORIALS
http://212.223.75.38/workshops/ (Edward's Online Workshops)
http://www.thickbook.com/extra/php_apachephp4_win.phtml
http://www.webreview.com/2000/09_29/developers/09_29_00_2.shtml
http://hotwired.lycos.com/webmonkey/00/44/index4a.html?tw=programming
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/
http://www.php.net/manual/en/install-windows95-nt.php
http://www.webmasterbase.com/article.php?aid=228&pid=0 (Kevin Yank tutorial)
IMPORTANT: Always carefully read the "readme" files accompanying each install