Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
database software
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="lifeafter2am" data-source="post: 260130" data-attributes="member: 20101"><p>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</p><p></p><p>[edit] here is the code</p><p>[code]redqueen:/etc/httpd lifeafter2am$ cat httpd.conf | grep "php"</p><p>#LoadModule php4_module libexec/httpd/libphp4.so</p><p>#AddModule mod_php4.c</p><p><IfModule mod_php4.c></p><p> # If php is turned on, we repsect .php and .phps files.</p><p> AddType application/x-httpd-php .php</p><p> AddType application/x-httpd-php-source .phps</p><p> # Since most users will want index.php to work we</p><p> # also automatically enable index.php</p><p> DirectoryIndex index.html index.php</p><p>[/code][/edit]</p><p></p><p>--lifeafter2am</p></blockquote><p></p>
[QUOTE="lifeafter2am, post: 260130, member: 20101"] 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 [/code][/edit] --lifeafter2am [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
database software
Top