10.4.9
- Edit the httpd.conf file
- Uncomment the lines that contain php
- Restart apache
- Confirm it works via phpinfo.php
- fix PEAR – see Enable PEAR on Mac OS X 10.4.x
command summary of the above (assuming you know what to do in vim)
$ sudo vim /etc/httpd/httpd.conf $ sudo apachectl restart $ vim /Library/WebServer/Documents/phpinfo.php
phpinfo.php contents
<?php phpinfo(); ?>