Create PHP Configuration File on OS X 10.8 Mountain Lion

After installing and configure Apache, PHP, MySQL on OS X 10.8 Mountain lion, there is an error (warning) about date timezone on PHP because there is no timezone selected. After googling for a while, i didn’t found a solution.

PHP Configuration

PHP Configuration

 

Then i ask xikyu46, he replied that i should create a configuration file on default directory. The default configuration directory is located at /private/etc/. Create php.ini file. Set the timezone. And done.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.