编译安装PHP5.5.16的配置文件


./configure \ --prefix=/usr/local/php55_16 \ --enable-mysqlnd \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-freetype-dir \ --with-jpeg-dir \ --with-png-dir \ --with-zlib \ --with-libxml-dir=/usr \ --enable-xml \ --disable-rpath \ --enable-bcmath \ --enable-shmop \ --enable-sysvsem \ --enable-inline-optimization \ --with-curl \ --enable-mbregex \ --enable-fpm \ --enable-mbstring \ --with-mcrypt \ --with-gd \ --with-gettext \ --enable-gd-native-ttf \ --with-openssl \ --with-mhash \ --enable-pcntl \ --enable-sockets \ --with-xmlrpc \ --enable-zip \ --enable-soap \ --enable-short-tags \ --enable-static \ --with-xsl \ --with-fpm-user=www \ --with-fpm-group=www \ --enable-opcache=no \
--enable-maintainer-zts \
--enable-ftp make make install

敲完回车,报错。

源码编译,提示缺少gcc cc 

看报错信息,cc和gcc没有安装,那么接下来安装

解决方案:

      yum install -y gcc glibc

 未写完继续。。。。下次写完

posted @ 2018-11-25 00:05  祁连雪狼之家  阅读(103)  评论(0编辑  收藏  举报