Apache Web-Serving with Mac OS X: Part 3
Subject:   PHP and Apache on Jacuar (OSX 10.2)
Date:   2002-09-12 07:55:48
From:   anonymous2
Couldn't find this anywhere in my httpd.conf file:

# For example, the PHP 3.x module will typically use:
# AddType application/x-httpd-php3 .php3
# AddType application/x-httpd-php3-source .phps
# And for PHP 4.x, use:
# AddType application/x-httpd-php .php
# AddType application/x-httpd-php-source .phps

So just typed in (without single quotes!)

'AddType application/x-httpd-php .php'


'AddType application/x-tar .tgz'

uncommented the loadModule and AddModule stuff , restarted Apache and everything worked fine.

1 to 1 of 1
1 to 1 of 1