Login »

Michael Dale

Search Posts

Categories

Bluetrait
    Coding
        WordPress
            Plugins
        PHP
        Bluetrait (Program)
    Geek
        Juniper
        Cisco
        IBM N2200 8363
        PCs
        Spam
        IPv6
        Apple
        NetScreen
        Internet
    General
        Uni

Popular posts

Click here if you are looking for Bluetrait, the weblog software.


Login

Username:

Password:

How to enable PHP on Mac OS Leopard

Posted by Michael Dale on Sat, 27 Oct 2007 4:42 PM

To enable php:

  1. open terminal
  2. cd /etc/
  3. sudo cp php.ini.default php.ini
  4. cd /private/etc/apache2/
  5. sudo nano httpd.conf
  6. uncomment the two modules: php5_module and fastcgi_module. They were at line 114 and 115 for me.
  7. Use ctrl and o to save
  8. reload apache (can be done from system preferences).