centos6.0 拷贝安装nginx+php方法
1、拷贝原来nginx与PHP编译后文件
2、安装libmcrypt
./configure make make install
3、安装libiconv.so.2
a) \\10.10.70.36\dev\middleware\nginx\libiconv-1.13.1.tar.gz b) ./configure c) make d) make install e) ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2
4、安装memcached
a) yum -y install libmemcached-devel.x86_64 b) unzip php-memcached-dev-php-memcachpined-v1.0.1-0-g011afc7.zip c) cd php-memcached-dev-php-memcached-43b5b5a/ d) /opt/php/bin/phpize e) ./configure --with-php-config=/opt/php/bin/php-config f) Make g) Make install h) vim /opt/php/conf/php.ini i. 加入extension=memcached.so
5、安装APC
a) /opt/php/bin/phpize b) ./configure --with-php-config=/opt/php/bin/php-config c) Make d) Make install
6、按提示新建日志目录
相关推荐
Noneyes 2020-11-10
zyyjay 2020-11-09
xuebingnan 2020-11-05
samtrue 2020-11-22
stefan0 2020-11-22
yifangs 2020-10-13
songshijiazuaa 2020-09-24
hebiwtc 2020-09-18
天步 2020-09-17
83911535 2020-11-13
whatsyourname 2020-11-13
zhouyuqi 2020-11-10
mathchao 2020-10-28
王志龙 2020-10-28
wwwsurfphpseocom 2020-10-28
diskingchuan 2020-10-23
savorTheFlavor 2020-10-23