Web Hosting Talk







View Full Version : Apache loads PHP module, but doesnt parse PHP


Tee
10-02-2004, 10:40 PM
Well, Ive just finished setting up apache with php, and after a few bumps its all loaded, except when i try to load a php page, Instead of loading it it just takes and wants me to download it, doesnt parse it at all, I have AddType application/x-httpd-php .php in my config file, So that should be all right? (This is a windows box)

KingAdmin
10-02-2004, 11:07 PM
Obviously there is line:
LoadModule php4_module modules/libphp4.so
in httpd.conf, correct ?

Tee
10-02-2004, 11:13 PM
Well im on windows so..

AddType application/x-httpd-php .php
LoadModule php4_module "e:/php/sapi/php4apache.dll"
SetEnv PHPRC e:/php

Thats my config for php