apache24 on debian

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

StartServers 2
MinSpareServers 2
MaxSpareServers 4
MaxClients 75
MaxRequestWorkers 75
MaxConnectionsPerChild 2000

/etc/init.d/apache2 restart

评论

此博客中的热门博文

FreeBSD安装Pure-FTPd及user manager for PureFTPd

debian lighttpd php ssl

解决nginx出现File not found的问题