Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Oct 13, 2014 11:09 pm 
Offline
Senior Newbie

Joined: Fri Feb 28, 2014 4:36 am
Posts: 14
when I come to this step:/etc/php5/apache2/php.ini

max_execution_time = 30
memory_limit = 128M
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
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
http://php.net/auto-globals-jit
auto_globals_jit = On

http://php.net/register-argc-argv
register_argc_argv = Off

should I set the both ??

Thanks in advance


Top
   
PostPosted: Tue Oct 14, 2014 7:39 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
The 'register_globals' directive was deprecated in PHP 5.3 and removed in PHP 5.4: http://php.net/manual/en/security.globals.php

The 'auto_globals_jit' can save a little bit of time and overhead by not creating the $SERVER and $ENV variables unless you reference them.

The 'register_argc_argv' directive is used when running PHP from the command line. If you're going to do that then it should be turned on.


Top
   
PostPosted: Thu Oct 16, 2014 9:26 pm 
Offline
Senior Newbie

Joined: Fri Feb 28, 2014 4:36 am
Posts: 14
Thanks


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group