{"id":1122,"date":"2012-07-18T00:22:04","date_gmt":"2012-07-18T00:22:04","guid":{"rendered":"http:\/\/www.phpmind.com\/blog\/?p=1122"},"modified":"2012-07-18T00:22:04","modified_gmt":"2012-07-18T00:22:04","slug":"how-to-check-error-log-in-apachelamp","status":"publish","type":"post","link":"https:\/\/www.phpmind.com\/blog\/2012\/07\/how-to-check-error-log-in-apachelamp\/","title":{"rendered":"How to check error log in Apache\/LAMP?"},"content":{"rendered":"<p>First login to your server using ssh<\/p>\n<p>A. ssh phpmind@phpmind.com<br \/>\nB. Enter proper password<\/p>\n<p>Then switch back to the root and use this command.<\/p>\n<p>Benefit of &#8220;-f&#8221; option is as you hit your php page in browser terminal will auto refresh errors and you can see most recent errors.<\/p>\n<pre lang=\"linux\">\r\ntail -f \/var\/log\/apache2\/phpmind.com-error.log\r\n<\/pre>\n<p>Your Path may be diffrent! I have different sub domains parked in my server. So this is my error log path in LAMP.<\/p>\n<p>Hope it will work for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8220;-f&#8221; 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1122","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/comments?post=1122"}],"version-history":[{"count":1,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1122\/revisions"}],"predecessor-version":[{"id":1123,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1122\/revisions\/1123"}],"wp:attachment":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/media?parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/categories?post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/tags?post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}