How to find all Error log files in cPanel?

How to find all Error log files in cPanel? [EASY GUIDE]☑️

Today in this tutorial you will learn how to find all error logs files in cPanel. You just need to create a test.php file in public_html of your cPanel in which you have to place a small script given below:

<?php
$anything = shell_exec('find /home/username/public_html/ -name "error_log" -print');
echo "<pre>$anything</pre>";
?>
How to find all Error log files in cPanel
How to find all Error log files in cPanel

 

This above command will print all the error logs files in your cPanel.

How to find all Error log files in cPanel
How to find all Error log files in cPanel

You can test this by visiting the url https://yourdomain.com/test.php

You can also watch this video on how to find all Error log Files in cPanel.

That’s all, we hope this tutorial helped you learn how to find all error log files in cPanel.

For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channelhttps://youtube.com/redserverhost.com

Facebook Page- https://facebook.com/redserverhost

Twitter Page- https://twitter.com/redserverhost.com

If you have any query, feel free to let us know via the comments section below.

Thanks for Reading!!!

Tags: cheap linux hostingbuy linux hostingcheap reseller hostingbuy reseller hostingbest reseller hostingcheap web hostingcheapest web hostingcheapest reseller hosting,  cheap reseller hostcheap linux hostcheapest linux hostingbest linux hostingbest web hosting