Article:
 |
|
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'
after
'AddType application/x-tar .tgz'
uncommented the loadModule and AddModule stuff , restarted Apache and everything worked fine.
|
Showing messages 1 through 1 of 1.
-
PHP and Apache on Jacuar (OSX 10.2)
2002-12-31 06:08:04
khasmir
[View]
#
# To use PHP4
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
I put them after the section of the server-parsed HTML
works fine for me on v10.2.3