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

安装php过程中的错误和解决方式

时间:2015-12-16 12:43:29      阅读:268      评论:0      收藏:0      [点我收藏+]

标签:php

centos6.5 32位系统;

checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 2... yes
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-vpx-dir=<DIR>
configure: error: jpeglib.h not found.

解决方法:

yum install libjpeg libpng freetype libjpeg-devel libpng-devel freetype-devel -y

若是64位系统

解决方法:

yum install libjpeg.x86_64 libpng.x86_64 freetype.x86_64 libjpeg-devel.x86_64 libpng-devel.x86_64 freetype-devel.x86_64 -y


安装php过程中的错误和解决方式

标签:php

原文地址:http://caimengzhi.blog.51cto.com/9787265/1723490

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