2017年9月

apt-get install apache2-mpm-prefork libapache2-mod-php5

apt-get install php5-cli php5-curl php5-gd php5-gmp php5-imap php5-json php5-ldap php5-mcrypt php5-mysql php5-tidy php5-xmlrpc php5-xsl

a2enmod actions

a2dismod mpm_event

a2enmod mpm_prefork

nano /etc/apache2/mods-available/mpm_prefork.conf

<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 2
MaxSpareServers 4
MaxClients 75
MaxRequestWorkers 75
MaxConnectionsPerChild 2000
</IfModule>

/etc/init.d/apache2 restart