Title Image

Blog

Lnmp—php5.5编译安装

  |   Geek   |   No comment

安装版本:php5.5

nginx:1.5.3

PHP:5.5.1

CentOS 5.4 32位   php-fpm编译配置参数:

./configure –prefix=/usr/local/php –with-config-file-path=/usr/local/php/etc –with-mysql=/usr/ –with-iconv-dir –with-freetype-dir –with-jpeg-dir –with-png-dir –with-zlib –with-libxml-dir=/usr –enable-xml –disable-rpath –enable-discard-path –enable-magic-quotes –enable-safe-mode –enable-bcmath –enable-shmop –enable-sysvsem –enable-inline-optimization –with-curl –with-curlwrappers –enable-mbregex –enable-fastcgi –enable-fpm –enable-force-cgi-redirect –enable-mbstring –with-mcrypt –enable-ftp –with-gd –enable-gd-native-ttf –with-openssl –with-mhash –enable-pcntl –enable-sockets –with-xmlrpc –enable-zip –enable-soap –without-pear –with-gettext –with-mime-magic

报错一个:
configure: error: Please reinstall the libcurl distribution – easy.h should be in <curl-dir>/include/curl/

解决方法: yum -y install curl-devel

QQ20130804-3

No Comments

Post A Comment