Tuesday, May 21, 2013

How get PHP Apps error log in Linux OS

Many time, we need to see what actually happened when we run PHP based Web App, It is especially for when you need to debug some issue :)

So lets start by its using terminal, just paste this command and see the log :

sudo tail -f /var/log/apache2/error.log 

No comments:

Post a Comment