Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how do I find the server logs to check for php error?

I am having issues with logging into my blog after downloading a new plugin on my Wordpress Blog.

I have been instructed by the customer support to check the server log on my MAC for php errors.

Where do I find the server log?

Thank you,

Doreen

Mac Pro, Mac OS X (10.7.4)

Posted on Jun 20, 2012 11:20 AM

Reply
2 replies

Jun 20, 2012 11:44 AM in response to doreenfromfl

Is your blog hosted on your own computer? (That's unusual.) If you haven't changed (or created) the php.ini file, the PHP logs default to the general Apache log - open Console, go to /var/logs/apache2/error_log.


If you want a separate PHP log file, duplicate the /etc/php.ini.default file, and call it php.ini. Edit it (eg, with sudo nano) and set the "error_log" value to something other than the default


eg

error_log = php_errors.log


Save and restart Apache to enable the change.


Matt

how do I find the server logs to check for php error?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.