安装php过程中的错误和解决方式
2015-12-16 10:50
483 查看
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
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获取一个月有多少天
- laravel1
- 制作PHP安装程序的原理和步骤
- 谈谈 PHP7新增功能
- PHP中该怎样防止SQL注入
- PHP 跳转到指定链接
- PHP 编辑环境问题集合
- thinkphp中session设置session周期无效
- SMTP Error: Could not connect to SMTP host
- macOS下php(一)搭建
- ANT:生成doc、打包zip、FTP
- PHP7新特性
- 谈谈PHP中substr和substring的正确用法及相关参数的介绍
- 谈谈 PHP7新增功能
- PHP上传文件参考配置大文件上传
- 通过PHP简单实例介绍文件上传
- 借助PHP的mysql_query()函数来创建MySQL数据库的教程