【正文】
make install,路徑/usr/local/etc/cgi/查找:extension_dir = ./修改成:extension_dir = /usr/local/php/lib/php/extensions/nodebugnonzts20060613/在此句下面一行添加:extension = 查找:output_buffering = Off修改成:output_buffering = On保存。Memcached cd /usr/local/srctar zxvf cd ./configure prefix=/usr/lib make make install cd ../ tar zxvf cd ./configure prefix=/usr/local withlibevent=/usr/lib/ make make install /usr/local/bin/memcached d u m 128p num監(jiān)聽的TCP端口(缺省: 11211)d以守護(hù)進(jìn)程方式運(yùn)行以守護(hù)進(jìn)程方式運(yùn)行Memcached Memcacheduusername運(yùn)行運(yùn)行Memcached的賬戶非root用戶m num最大的內(nèi)存使用單位是MB缺省是64MBc num軟連接數(shù)量缺省是1024v輸出警告和錯誤信息vv打印客戶端的請求和返回信息h打印幫助信息i打印memcached和libevent的版權(quán)信息6.安裝ZendOptimizer cd .. tar zxvf cd ./installPlease specify the location for installingZend Optimizer:這里填寫Zend的安裝路徑,按下面寫即可/usr/local/ZendConfirm the location of your file:,按下面寫即可/usr/local/etc/cgiAre you using Apache Web server?這里選No7.啟動Nginx和PHP mv f /usr/local/src/ /usr/local/nginx/conf/ cp f /usr/local/src/ /usr/local/nginx/conf/ ulimit SHn 65535 /usr/local/php/sbin/phpfpm start service nginx start8.關(guān)于安全設(shè)置查找/usr/local/etc/cgi/。 =0把這句前的分號去掉,變成=