Hi, I am typically use php on my Linux servers but now I have reason to install PHP/Apache/MySQL on a Windows 98 pc. Not for a server just for development. I have followed the Windows setup instructions for installing php4 in Win 98 and configuring Apache.
I added the following to my httpd.conf file:
AddType application/x-httpd-php .php
ScriptAlias /php/ "C:/php/"
Action application/x-httpd-php "/php/php.exe"
I also edited doc_root to be c:\apache\htdocs and extension_dir to be c:\php\ in the php.ini
I am having one problem though, when I go to load my phpinfo.php file in my browser it only displays the file, like this
<? phpinfo() ?>
and doesn't actually print out the enviroment information. Seems to me like Apache isn't recongnizing the php extension. I have triple checked my httpd.conf file for the three lines Apache needs for PHP. I have php installed in c:/php and apache in c:/apache.
Does anyone know how to fix this?