Mobile app version of vmapp.org
Login or Join
Frith620

: 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);

@Frith620

Posted in: #ErrorReporting #Php

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Frith620

1 Comments

Sorted by latest first Latest Oldest Best

 

@Murray432

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme