note 45026 deleted from install.macosx by aidan
| From: | aidan@php.net | Date: | Tue, 24 Aug 2004 04:47:45 +0000 |
| Subject: | note 45026 deleted from install.macosx by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75192@lists.php.net to get a copy of this message | ||
Note Submitter: junk @t raynersoftware d0t com
----
Mike,
PHP is installed, but disabled by default on OS X. You will need to edit your httpd.conf file
located in /etc/httpd/httpd.conf . The easiest way to enable PHP is just to search for every line
containing "php" and un-comment each of these lines. I'm not sure exactly what these
lines look like on the OS X default build, but they should be similar to this:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
After you uncomment those lines, restart your apache server with "sudo apachectl restart"
(or just reboot the machine.)