note 45026 added to install.macosx

From: Date: Mon, 23 Aug 2004 20:12:37 +0000
Subject: note 45026 added to install.macosx
Groups: php.notes 
Request: Send a blank email to php-notes+get-75178@lists.php.net to get a copy of this message
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.) ---- Manual Page -- http://www.php.net/manual/en/install.macosx.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45026 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45026&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45026&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#75178) next »