Enabling PHP error reporting
Without having to modify php.ini it’s often enough to just add the following lines during development directly into the code:
1 2 3 |
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); |