首页 > Web开发 > 详细

源码编译安装PHP以及相关扩展的安装

时间:2017-04-25 20:59:31      阅读:185      评论:0      收藏:0      [点我收藏+]

1

./configure --prefix=/usr/local/webserver/php --with-config-file-path=/usr/local/webserver/php/etc --enable-fpm --enable-pcntl --enable-mysqlnd --enable-opcache --enable-sockets --enable-sysvmsg --enable-sysvsem  --enable-sysvshm --enable-shmop --enable-zip --enable-ftp --enable-soap --enable-xml --enable-mbstring --disable-rpath --disable-debug --disable-fileinfo --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-pcre-regex --with-iconv --with-zlib --with-mcrypt --with-openssl --with-mhash --with-xmlrpc --with-curl --with-imap-ssl


2 安装php的memcache扩展

https://www.servint.net/university/article/the-tech-bench-how-to-install-php-memcache/


3 安装imagick扩展

a  手动源码编译安装

http://www.osyunwei.com/archives/5327.html


b 使用pcel install 的方法

http://www.cnblogs.com/didi/p/3410934.html


4 安装gd扩展

http://chen498402552-163-com.iteye.com/blog/1161254






本文出自 “文玺嘻嘻嘻” 博客,请务必保留此出处http://wenxi123.blog.51cto.com/11861413/1919353

源码编译安装PHP以及相关扩展的安装

原文:http://wenxi123.blog.51cto.com/11861413/1919353

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