4

Just upgraded to Mountain Lion, and wanted to make PHP work on the built-in version of Apache.

1

1 Answer 1

16
  1. Edit /private/etc/apache2/httpd.conf
  2. Find the line that says LoadModule php5_module libexec/apache2/libphp5.so and uncomment it by editing out the # at the beginning of the line. (Then save the file, obviously.)
  3. Go to Terminal and type sudo apachectl graceful at the console:
1
  • I highly doubt that Apple provides an up-to-date PHP version for this.
    – user35723
    Dec 8, 2012 at 9:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .