nginx + php + memecache

Then continue on a lnmp continue to optimize the architecture
principles be supplemented


php added memcacha or ImageMagick modules
for installation package memcache-2.2.5.tgz go from the trilogy

can see there is no need to perform the ./configure command php extension

configuration It may occur under the right circumstances this situation resolved as follows


trilogy away from the


load the appropriate module in php to


restart the service to

install memcached

start the service


copy of the relevant data packet memcache

modify user management and a host of


detecting
browse real machine enter http://172.25.62.1/memcache.php
need to fill in the username and password of a user profile is above the root admin password


each time access which will increase the red-green hits the misses will reduce the
stress tests on the client (physical machine)

server1 server cache to see again the case


Nginx + memcached + php here is ngixn memcached caching is used to cache data
here needs the support of memcache module nginx secondary development package
to close the original nginx service

download openresty and nginx-sticky-module- ng.tar.gz packet

specified path and increasing modules

compiled Dress

 

基本优化


配置memcache支持模块



重启服务

进行压力测试  物理机

 

Guess you like

Origin blog.csdn.net/qq_41636653/article/details/84402883