Problemet är löst.
Om man läser INSTALL för php så står det
The only thing left to do is to edit your httpd.conf file and make sure the
PHP 4 mime type is there and uncommented. You need a line that looks like
this:AddType application/x-httpd-php .php
Then restart your server (apachectl restart) and you should be able to
serve up PHP files now. Make a test file called test.php and put some
PHP tags in it. Like <?phpinfo()?>, for example.
Om man sedan läser på php's hemsida så står det
Edit your httpd.conf file and check that these lines are
present:LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
Så nu fungerar det.
/Viktor