Outils pour utilisateurs

Outils du site


linux:securite:securiser_apache_et_php

Sécuriser apache et php

Secure Apache

pico /etc/apache2/conf.d/security

ServerSignature Off ServerTokens Prod

/etc/init.d/apache2 restart

Secure PHP

pico /etc/php5/cgi/php.ini

pico /etc/php5/apache2/php.ini

expose_php = Off disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open magic_quotes_gpc = Off safe_mode = Off register_globals = Off allow_url_fopen = Off

linux/securite/securiser_apache_et_php.txt · Dernière modification: 2019/01/25 15:56 (modification externe)