apache2.4:灯+ xcache

http://xsboke.blog.51cto.com

,,,

,,

,

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,- - - - - - -

,

<人力资源/>

,

一、灯

,, apache2.4:灯+ xcache

, 1。Clientweb serverphp

, 2。Web servercgifastcgiapachephp

, 3。php serverphp-fpmphpphp php servermysqlweb服务器

二、Web serverphp

,1. Apache

,,ApacheCGIfastCGIapache

,2. Nginx

,,NginxCGIproxy-pass

三,FastCGI

fastCGICGIfastCGI

<李>

,

<李> apache

<李>

fastcgiphpserverapacheapachephpmysqlmysql服务器

abhttp_loadwebbenchsiege

,2. Abapache

<李>


<李>

abURL

<李>

URLapachenginxlighthttptomcatIISWeb

<李>

AbLinux10241024ulimitulimit 李- n

五,Phpxcache

php serverphpphp apache

灯+ xcache

灯,,Apache和mysqlphp

,

php,, apache2.4:灯+ xcache

libmcrypt

,, apache2.4:灯+ xcache

php,, apache2.4:灯+ xcache

<李>

,

<李>

——prefix=/usr/地方/php5.6

<李>

——使用mysql=mysqlnd//mysql

,,,,,,,,——with-pdo-mysql=mysqlnd//pdo

,,,,,,,,——with-mysqli=mysqlnd//mysqli灯

<李>

,

<李>

——使用openssl//openssl

<李>

——enable-fpm//fpm

<李>

——enable-sockets//套接字

<李>

——enable-sysvshm//

<李>

——enable-mbstring//

<李>

——with-freetype-dir//freetypefreetype-devel

<李>

——with-jpeg-dir

,,,,,,,,,——with-png-dir

jpegpngphpjpeg

<李>

,

<李>

——with-zlib//

<李>

——with-libxml-dir=/usr//libxmlxml/usr

<李>

——enable-xml ,//xml

<李>

——with-mhash//mhash

<李>

——with-mcrypt=/usr/地方/libmcrypt//libmcrypt-devel

<李>

——with-config-file-path=/etc//

<李>

——with-config-file-scan-dir=/etc/php.d //

<李>

——with-bz2 //BZip2

,,复制

,, apache2.4:灯+ xcache

php-fpm

,, apache2.4:灯+ xcache

php-fpm

,, apache2.4:灯+ xcache

php-fpm

,, apache2.4:灯+ xcache

,, apache2.4:灯+ xcache

php-fpm9000tcp

,, apache2.4:灯+ xcache

php serverphp

,, apache2.4:灯+ xcache

mysql server3306tcp

,, apache2.4:灯+ xcache

apache serverapachephp服务器,1,

,, apache2.4:灯+ xcache

,2,

,, apache2.4:灯+ xcache

,,3

,, apache2.4:灯+ xcache

,,4

,, apache2.4:灯+ xcache

,,5

,null

apache2.4:灯+ xcache