phalcon :
yum install php-devel php-mysql gcc libtool pcre-devel
yum install wget git
cd /wdzj/source
git clone --depth=1 git://github.com/phalcon/cphalcon.git
cd cphalcon/build
./install
添加扩展到php.ini文件:
#extension=/wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so
cp /wdzj/lnmp/php5.6.11/lib/php.ini /wdzj/lnmp/php5.6.11/lib/php.ini.`date +%F`
echo "extension=/wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so" >>/wdzj/lnmp/php5.6.11/lib/php.ini
重启php
/etc/init.d/php-fpm restart
php -m |grep phalcon ##如果有就安装成功
Xhprof:
wget
tar -zxvf xhprof-0.9.4.tgz
cd xhprof-0.9.4
cd extension/
phpize
./configure
make
sudo make install
修改php.ini
# cp /wdzj/lnmp/php5.6.11/lib/php.ini /wdzj/lnmp/php5.6.11/lib/php.ini.`date +%F`
# [xhprof]
# extension=/wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226/xhprof.so
# xhprof.output_dir=/tmp
cp /wdzj/lnmp/php5.6.11/lib/php.ini /wdzj/lnmp/php5.6.11/lib/php.ini.`date +%F`
echo "[xhprof]" >>/wdzj/lnmp/php5.6.11/lib/php.ini
echo "/wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226/xhprof.so" >>/wdzj/lnmp/php5.6.11/lib/php.ini
echo "xhprof.output_dir=/tmp" >>/wdzj/lnmp/php5.6.11/lib/php.ini
重启php
/etc/init.d/php-fpm restart
php -m |grep xhprof ##如果有就安装成功
安装 amqp
wget
yum install automake -y
tar xf rabbitmq-c-0.8.0.tar.gz
cd rabbitmq -c-0.8.0
autoreconf -i
./configure --prefix=/wdzj/lnmp/lib/rabbitmq
make
make install
tar xf amqp-1.7.1.tgz
cd amqp-1.7.1
./configure --with-php-config=/wdzj/lnmp/php7.0.12/bin/php-config --with-amqp --with-librabbitmq-dir=/wdzj/lnmp/lib/rabbitmq
make
make install
升级 redis 插件
cd /wdzj/source/
wget
tar -xzvf redis-2.2.8.tgz
cd redis-2.2.8
/wdzj/lnmp/php5.6.11/bin/phpize
./configure --with-php-config=/wdzj/lnmp/php5.6.11/bin/php-config
make
make install
ll /wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226/
/etc/init.d/php-fpm reload
php -m |grep redis
海报
0 条评论
165
相关文章
本站已关闭游客评论,请登录或者注册后再评论吧~