Orada Tutulma konsoluna benzer birçok süslü yolu vardır, ancak sadece 2 everythere çalışır.
First of all you have to decide, where you want to see your errors - online or in the log file. Usually we set online for developers machine and log for the public server.
Unix-way for log is often used - tail -f /path/error_log
To set bullet-proof settings use either php config or apache config.
So, to display errors online,
set display_errors = on in the php.ini file (be sure you edit working one)
or set php_value display_errors = 1 in the httpd.conf/.htaccess
Üzerinde kamu sunucu için ben genellikle içine şu satırları ekleyin hosting .htaccess:
php_value display_errors = 0
php_value log_errors = 1
php_value error_log = "/path/to/log.file" #if I want to have it separate from webserver's error log
Seviyesini Raporlama hep aynı kalır ve yapılandırma php dosyası ile ayarlanır
error_reporting(E_ALL);