View Single Post
lifeafter2am

 
lifeafter2am's Avatar
 
Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
lifeafter2am is a jewel in the roughlifeafter2am is a jewel in the rough
Mac Specs: MacBook Pro Unibody

lifeafter2am is offline
Found it. It is installed by default. You have to go into /etc/httpd/httpd.conf and uncomment the line that says to load the php module. There are actually two lines that are commented by default that you need to uncomment. :headphone

[edit] here is the code
Code:
redqueen:/etc/httpd lifeafter2am$ cat httpd.conf | grep "php"
#LoadModule php4_module        libexec/httpd/libphp4.so
#AddModule mod_php4.c
<IfModule mod_php4.c>
    # If php is turned on, we repsect .php and .phps files.
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    # Since most users will want index.php to work we
    # also automatically enable index.php
        DirectoryIndex index.html index.php
[/edit]

--lifeafter2am

masakatsu agatsu

@lifeafter2am
QUOTE Thanks