源碼編譯安裝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






發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章