: How to Show apache error on shared hosting? I have tried to show the errors on the server by adding this : ini_set('display_startup_errors',1) ini_set('display_errors', 1); ini_set('log_errors', 1);
I have tried to show the errors on the server by adding this :
ini_set('display_startup_errors',1)
ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', '/home/*****/error_log.txt');
error_reporting(E_ALL);
on top of the main page.
i also tryed to output the errors using ChromePhp and FireBug but it's not working.
I don't have enough permission to change the server configuration.
More posts by @Frith620
1 Comments
Sorted by latest first Latest Oldest Best
Try giving this
error_reporting(4037);
if this won't work then go to your write down below code
echo '<pre>';
print_r(ini_get_all()):
echo '</pre>';
and check permission of "error_reporting" if its "6" or "7" then only you can set error reporting run time otherwise not.
furthermore you can ask your hosting provider what to do.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.