I have server on centos system. Has php 7.4, apache version and also laravel project on it. And when i go to my site it gives me blank page. So i think it can't to show php error codes. I need your help.
CodePudding user response:
Although your question lacks adequate information, you can achieve what you desire in two ways.
- Via
php.ini
file
open your php.ini
file and look for this line:
display_errors = off
and change it to display_errors = on
- Via your php file
In your php file just add these lines to the top:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
CodePudding user response:
Please share some more details of what you actually want to do so i can help you out ...