Optimizing PHP for a Linode 1GB Issue
maxexecutiontime = 30
memory_limit = 128M
errorreporting = ECOMPILEERROR|ERECOVERABLEERROR|EERROR|ECOREERROR
display_errors = Off
log_errors = On
error_log = /var/log/php/error.log
register_globals = Off
I can't find the :register_globals = Off
but there're
autoglobalsjit = On
registerargcargv = Off
should I set the both ??
Thanks in advance
2 Replies
The 'autoglobalsjit' can save a little bit of time and overhead by not creating the $SERVER and $ENV variables unless you reference them.
The 'registerargcargv' directive is used when running PHP from the command line. If you're going to do that then it should be turned on.