I have a PHP application deployed on my IIS hosting and I am always getting generic IIS "error 500" pages insteady of detailed error pages.
I understand I need to modify some php.ini file (from this question).
It seems that display_errors is set correctly:
echo ini_get('display_errors');
outputs 1
.
I have also tried setting display_errors and error_reporting in the function that causes the error (I know the particular function is the problem because I manually modified it).
function sendEmail( $aForm, $sFile = 'messages.tpl', $sTargetEmail = null ){
error_reporting(E_ALL);
ini_set('display_errors', 'On');
//rest of the function
EDIT: I know I should have set these values in some php.ini file - how can I specify php.ini values on a shared hosting, when I have only access to my app folder via FTP?
How can I identify the error details?