Re: Setting display_errors in the hosting template?
Posted: Mon May 11, 2015 8:23 pm
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
search display_errors and set on
/etc/init.d/apache2 restart
or httpd, if you use centos/rhel
Other way - code:
/etc/php5/cli/php.ini
search display_errors and set on
/etc/init.d/apache2 restart
or httpd, if you use centos/rhel
Other way - code:
Code: Select all
<?php
error_reporting(E_ALL); ini_set('display_errors', '1');
echo "Hello world";
owieufpowiejf
?>