// post · 624
How to enable PHP on Mac OS Leopard
To enable php:
- open terminal
- cd /etc/
- sudo cp php.ini.default php.ini
- cd /private/etc/apache2/
- sudo nano httpd.conf
- uncomment the two modules: php5_module and fastcgi_module. They were at line 114 and 115 for me.
- Use ctrl and o to save
- reload apache (can be done from system preferences).
// leave a comment
HTML allowed: <a href="" title="" rel=""></a> <b></b> <blockquote cite=""></blockquote> <em></em> <i></i> <strike></strike> <strong></strong> <li></li> <ol></ol> <ul></ul>
ie: <b>bold</b>
Your comment may need to be reviewed before it is published.
// comments