Click to See Complete Forum and Search --> : [Resolved] Problem Installing PHP 4.3.2 on Apache - Help?


Mike-2003
11-07-2003, 05:38 PM
I have downloaded Apache 1.3.28 and PHP 4.3.2 and have installed both and Apache works ok when I use a HTM extention, but when I use a PHP extention it asks if I would like to save it as a file.

Did I miss something in the install?

Any help would be appreciated.

Thanks!

LordShryku
11-07-2003, 08:30 PM
What did you put in the httpd.conf file?

Mike-2003
11-08-2003, 12:28 AM
#Load PHP Module
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

LordShryku
11-08-2003, 12:43 AM
Try adding these two lines

ScriptAlias /php/ "C:\php\"
Action application/x-httpd-php "C:\php\php.exe"