tallberg Posted October 6, 2007 Share Posted October 6, 2007 Hi Im trying to use the mamp set up on a mac. For some reason error messages dont display in the browser which make development quite difficult. Does anyone know how to turn error messages on? Quote Link to comment https://forums.phpfreaks.com/topic/72084-no-error-messages-in-mamp/ Share on other sites More sharing options...
~n[EO]n~ Posted October 6, 2007 Share Posted October 6, 2007 Remove the comment ( in php.ini in error_reporting and keep E_ALL only ; - Show all errors, except for notices ; error_reporting = E_ALL Quote Link to comment https://forums.phpfreaks.com/topic/72084-no-error-messages-in-mamp/#findComment-363232 Share on other sites More sharing options...
MadTechie Posted October 6, 2007 Share Posted October 6, 2007 without access to the php.ini file <?php // Report all PHP errors (bitwise 63 may be used in PHP 3) error_reporting(E_ALL); // Same as error_reporting(E_ALL); ini_set('error_reporting', E_ALL); ?> Quote Link to comment https://forums.phpfreaks.com/topic/72084-no-error-messages-in-mamp/#findComment-363251 Share on other sites More sharing options...
tallberg Posted October 6, 2007 Author Share Posted October 6, 2007 Thank you Quote Link to comment https://forums.phpfreaks.com/topic/72084-no-error-messages-in-mamp/#findComment-363282 Share on other sites More sharing options...
MadTechie Posted October 6, 2007 Share Posted October 6, 2007 if solved can you click the solved button please Quote Link to comment https://forums.phpfreaks.com/topic/72084-no-error-messages-in-mamp/#findComment-363285 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.