Solution:1
You can specify the location of your error log inside your vhost:
ErrorLog /path/to/error/log/error.log
Then restart your apache, and you should see the errors in your log.
Solution:1
You can specify the location of your error log inside your vhost:
ErrorLog /path/to/error/log/error.log
Then restart your apache, and you should see the errors in your log.
Solution:2
Just in case if you don’t want to look into error log file every time
PHP.ini way:
error_reporting = E_ALL display_errors = On
Same thing can be done from PHP file as well, see below:
ini_set(‘display_errors’, 1); error_reporting(E_ALL);