Possible Duplicate:
PHP: How do I enable error reporting?
yesterday i had this question: nothing show's up when class is in php code
Normally i work on my own host but now i switched and i didn't realize i had error reporting off. Now i try to get it on. I don't have acces to the root so i created my own ini.php, does that matter? In ini.php i tried:
php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting 2047
But no errors show up, and neither does the website.. Then i tried .htaccess which is alowed to be in every folder if i recall corect.
.htaccess has:
php_value error_reporting 6143
But no errors and no website again.
also tried .htacces with:
<IfModule mod_php5.c>
display_errors 1
</IfModule>
which gives:
The script could not be executed correctly. Common causes might be that the file was uploaded in a non-ASCII format or the path to the interpreter (e.g.: #!/usr/bin/perl) is missing or set incorrectly.
I tried then just as php file:
<?php
error_reporting(64);
require('test.txt');
?>
which shows no error Also tried:
ini_set('display_errors', 1);
and still no errors and no website :(
Does anyone have a idea what i can do? :(