首页 > Web开发 > 详细

PHP安装插件方式

时间:2016-05-13 08:10:37      阅读:206      评论:0      收藏:0      [点我收藏+]

PHP安装插件方法主要有两种:

1、先安装相关的库,zlib、curl、xml等,然后在安装 php 时的 ./configure 中设置 --with-xxx(你需要的插件),三部曲安装即可。

2、有一些插件在 php 的源码包里就有(/path/php/ext),有一些需要下载:

  cd xxx

  phpize (指明你的安装路径)

  ./configure --with-php-config=/usr/local/php/bin/php-config --with-xxx(有些需要其他 with)

  make

  make install

PHP安装插件方式

原文:http://www.cnblogs.com/linguoguo/p/5409027.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!