Sunday, August 15, 2010

How to Enabling PHP on Mac Leopard

To Enable PHP(note: before that enable Apache server)
  1. Open the Terminal.
  2. Type cd /etc/
  3. then type sudo cp php.ini.default php.ini
  4. After that type cd /private/etc/apache2/
  5. uncomment the two modules: php5_module and fastcgi_module. (Remove #). Search for php5_module.
  6. Then Save by ctrl and o
  7. Then reload the Apache server

No comments:

Post a Comment