Chaotic lines | Lnmp—php5.5编译安装
This site is a portfolio of Ray . Hope you enjoy it!
故事板,分镜头,storyboard,电影分镜,分镜师,storyboard artist
4640
post-template-default,single,single-post,postid-4640,single-format-standard,ajax_updown_fade,page_not_loaded,,qode-child-theme-ver-1.0.0,qode-theme-ver-3.6,wpb-js-composer js-comp-ver-5.4.5,vc_responsive
 

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