标签:源码安装php环境
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