In my other howto, I installed Apache, PHP and MongoDB. I now need to setup MySQL so that I can develop a Wordpress theme and plugin on my local machine. Here are the few steps I used:
Apache, PHP and MongoDB on Mac OS X 10.6 Snow Leopard
MongoDB (from “humongous”) is a scalable, high-performance, open source, schema-free, document-oriented database.
There’s a lot of buzz brewing about it, so I wanted to give it a try with PHP on my development Mac. The following is how I went about installing Apache, PHP and MongoDB on Snow Leopard. You must have installed the Xcode developer tools (found on the Snow Leopard install DVD) and MacPorts for this to all work.
2010-01-02
4 Comments
Enable PHP error logging
In php.ini:
display_errors = Off
log_errors = On
error_log = /var/log/php-errors.log
Make the log file, and writable by www-data:
sudo touch /var/log/php-errors.log
sudo chown www-data:www-data /var/log/php-errors.log
2009-07-14
No Comments