PHP server need different configuration for production and development server.
This article help you understanding php.ini configuration better and applicable to your server.
- display_errors
echo error to the browser this should be turn off for production but should be enable for test server.
- log_errors
instead of displaying error to stderr, you can choose to enable error logging to the file instead for production.
More option can be study here :
http://perishablepress.com/press/2008/01/30/advanced-php-error-handling-via-php/
ไม่มีความคิดเห็น:
แสดงความคิดเห็น