I can't seem to get my PHP log working, despite having error_log set in php.ini, ln. 636.

Here's my php.ini file: https://gist.github.com/1057384

And my http.conf file: https://gist.github.com/1057091

There are no PHP-related errors logged in either my syslog or in any of my apache logs... what gives?

Please let me know if you need any additional information, and I'll be happy to provide it.


➜  apache2  ls -al /private/var/log/apache2
total 20944
drwxr-xr-x  15 root  wheel      510 Jul  1 14:50 .
drwxr-xr-x  50 root  wheel     1700 Jun 30 13:57 ..
-rw-------   1 root  wheel        0 Mar 30 15:42 accept.lock.219
-rw-------   1 root  wheel        0 Feb 11 09:46 accept.lock.26
-rw-------   1 root  wheel        0 Mar 31 01:16 accept.lock.27
-rw-------   1 root  wheel        0 Feb 10 10:22 accept.lock.273
-rw-------   1 root  wheel        0 Feb 18 11:40 accept.lock.278
-rw-------   1 root  wheel        0 Jun 30 20:04 accept.lock.53619
-rw-------   1 root  wheel        0 Dec 20  2010 accept.lock.67234
-rw-------   1 root  wheel        0 Mar  8 11:52 accept.lock.82041
-rw-r--r--   1 root  wheel  3315164 Jul  1 15:24 access_log
-rw-r--r--   1 root  wheel  5227887 Jun 30 20:04 error_log
-rw-r--r--   1 root  wheel        0 Jul  1 14:50 php_errors
-rw-r--r--   1 root  wheel     3481 Jul  1 15:24 p_error
-rw-r--r--   1 root  wheel  2168757 Jul  1 15:24 p_rewrites
link|improve this question

79% accept rate
Does the apache user have +w to /private/var/log/apache2/php_errors ? – thinice Jul 1 '11 at 18:46
It has the same permissions and ownership as my apache logs, which are logging activity. – neezer Jul 1 '11 at 19:23
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.