First login to your server using ssh
A. ssh phpmind@phpmind.com
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.
Best use of it, admin monitoring the log where he can track the error as its thrown. I think linux admin do that 🙂