i hope u don't plan to publically host anything on that server, win98 is not the best thing in the world to put a server on. upgrade to win2k or winxp for better performance.
for cgi download ActivePerl from ActiveState
http://www.activestate.com/Products/Download/Get.plex?id=ActivePerl for php, the readme included with the zip should basically explain itself. unzip it, put it in a dir, put php.ini in ure root directory, edit it.
and don't forget this in httpd.conf for apache (adjust for your needs, i just ripped this out of my config file):
# PHP
ScriptAlias /php/ "d:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
[ 01-23-2002 09:50 PM: Message edited by: DPK ]