PHP Errors

LarryBeall

Verified User
Joined
Dec 20, 2014
Messages
9
Going crazy here. I'm getting 500 errors on various pages in the application I'm building but can not get PHP to log any errors to my error logs. I have even specified an error log location for php errors via htaccess and still the errors are not outputted anywhere that I can find. I currently have my system configured with PHP-FPM and suhosin. Anyone have any ideas of what I can look @?
 
Are you using DirectAdmin? Are you the Server Admin?

If yes, the 500 errors are logged in /var/log/httpd/domains/yourdomain.tld.error.log

Otherwise, you should be able to check apache logs inside statistics and logs in DirectAdmin interface at user level.

Best regards
 
Yes to DirectAdmin, Yes to Server Admin. Nothing is being logged to the error.log for the domain. That's what is just killing me. I can see the request in the main log, but there is nothing showing in the error log. It is absolutely perplexing. What is even stranger is the fact that I can see errors showing up in other domains error logs on the server, but not this domain.
 
Last edited:
You might want to check /var/log/php-fpm5*.log too :)

Thank you. Checked there as well. I'm not sure why the errors are being eaten on one of my hosted sites but not any other. I don't think this will make any difference, but this particular site is the default site created with a reseller account where as all the other sites are just user/client sites.

Larry
 
Back
Top