install_php_nginx
install_php_nginx(){
clear
f_banner
echo -e "\e[34m---------------------------------------------------------------------------------------------------------\e[00m"
echo -e "\e[93m[+]\e[00m Installing, Configuring and Optimizing PHP/PHP-FPM"
echo -e "\e[34m---------------------------------------------------------------------------------------------------------\e[00m"
echo ""
apt-get install php5-fpm php5 php5-cli php-pear
apt-get install php5-mysql python-mysqldb
echo -n " Replacing php.ini..."
cp templates/php /etc/php5/cli/php.ini; echo " OK"
cp templates/phpnginx /etc/php5/fpm/php.ini; echo "OK"
service php5-fpm restart
service nginx restart
say_done
}
La función install_php_nginx hace exactamente lo mismo que la función install_secure_php**, con la diferencia que instala el soporte para nginx PHP-FPM.