In your php.ini make sure error reporting and show errors is active:
php.ini locations:
Remember to restart apache after making any changes:
php.ini locations:
- Ubuntu: /etc/php5/apache2/php.ini
- CentOS: /etc/php.ini
Code:
error_reporting = E_ALL & ~E_NOTICE
display_errors = On
Remember to restart apache after making any changes:
- Ubuntu: service apache2 restart
- CentOS: service httpd restart