码迷,mamicode.com
首页 > Web开发 > 详细

php7 install script

时间:2016-04-05 19:18:28      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:

./configure --prefix=/home/admin/local/php7 --with-gd=/home/admin/local/libgd-2.1.1/ --with-jpeg-dir=/home/admin/local/jpeg/ --w
ith-png-dir=/home/admin/local/libpng/ --with-freetype-dir=/home/admin/local/freetype/ --with-pdo-mysql=/home/admin/local/mysql/ -
-with-config-file-path=/home/admin/local/php7/etc --with-libxml-dir=/home/admin/local/libxml2/ --enable-fpm --with-pcre-dir=/home
/admin/local/pcre/ --enable-mbstring --enable-pcntl 

 

/home/admin/soft/php-7.0.5/ext/gd/gd.c:57:22: error: X11/xpm.h: No such file or directory

make: *** [ext/gd/gd.lo] Error 1

 

sudo yum install libXpm-devel.x86_64

rpm -ql libXpm

append this " --with-xpm-dir=/usr/lib64/"  to install php configure

php7 install script

标签:

原文地址:http://www.cnblogs.com/allenhaozi/p/5356036.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!