php - Hide error unable to allocate memory for pool -



php - Hide error unable to allocate memory for pool -

i realize next error: “unable allocate memory pool” in mx loader appears because of high server activity , should increment memory in php.ini. there way hide such messages?

it wouldn’t friendly show such ugly reddish errors website visitors may freak them out. there way mask such errors , similar errors (if occur) in friendlier fashion?

you can hide php error messages setting environment in index.php testing or production. turns off php error reporting.

define('environment', 'production');

the templates error messages in application/errors - can alter appearance of messages here.

php codeigniter

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -