First login to your server using ssh
A. ssh firstname.lastname@example.org
B. Enter proper password
Then switch back to the root and use this command.
Benefit of “-f” option is as you hit your php page in browser terminal will auto refresh errors and you can see most recent errors.
tail -f /var/log/apache2/phpmind.com-error.log
Your Path may be diffrent! I have different sub domains parked in my server. So this is my error log path in LAMP.
Hope it will work for you.