echo all errors
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);//PHP functions
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
//.htaccess
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log
Also in PHP:
- explode php
- find string in a string php
- composer set php version
- find key in arrray php
- find location from an ip address PHP
- failed to open stream: no such file or directory php
- clear cache manually laravel
- create orphan token in vault
- date format c php
- array_reverse in php example
- fetch data based on month and year in laravel
- create seede for table in laravel
- display page template using functions.php
- api header php
- check key exists in array in php
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 157 bytes) in C:\wamp64\scripts\refresh.php on line 2263
- difference betwen include and indlude once
- How to Redirect Website to a Mobile Version when Accessed on a Mobile Device
- Laravel Blade Foreach If Empty or Not
- check if number is multiple of 3 in php
- check if array has a key php
- date method in php
- after validate credential header is not redirect to another page in php in live server
- array_values() in php