您的位置:首页 > 编程语言 > PHP开发

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

2017-04-25 18:46 721 查看
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


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  源码安装 php环境