How to check the logs

How to check the logs



To check PHP logs

Connect to terminal
run command "sudo cat /var/log/php-fpm/www-error.log" to see the whole file OR
run command "sudo tail -100 /var/log/php-fpm/www-error.log" to see just the last 100 entries

\
To check Apache logs

Connect to terminal
To check error log run command "sudo cat /home/ec2-user/error.log"
To check access log run command "sudo cat /home/ec2-user/access.log"
There depending on how to logs are setup there could be more apache logs for the different domains e.g ops is setup to log into ops\error.log and ops\access.log

Subscribe to Bloom and Grow Documentation

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe