Zdravim,
nedávno jsem přeinstaloval PHP na Version 5.3.3-7+squeeze3 a od té doby mám v logu apache nespočetně opakujících se těchto hlášek:
<b>Warning</b>: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_globals' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_globals' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
Vim, že od této verze PHP nepodporuje několik funkcí a tyto direktivy v php.ini, ale bojim se safe_mode vypnout + ty ostatní, aby pak server nebyl jedna velká díra. Co tedy udělat po vypnutí těchto direktiv, aby server byl bezpečný a mohl bych v klidu spát?
nedávno jsem přeinstaloval PHP na Version 5.3.3-7+squeeze3 a od té doby mám v logu apache nespočetně opakujících se těchto hlášek:
<b>Warning</b>: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_globals' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_globals' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
Vim, že od této verze PHP nepodporuje několik funkcí a tyto direktivy v php.ini, ale bojim se safe_mode vypnout + ty ostatní, aby pak server nebyl jedna velká díra. Co tedy udělat po vypnutí těchto direktiv, aby server byl bezpečný a mohl bych v klidu spát?