PHP的时候提示这个错误 configure: error: png.h not found.,这个是选择安装GD模块才会出现的错误,详细错误信息如下

If configure fails try --with-vpx-dir=<DIR>

If configure fails try --with-jpeg-dir=<DIR>

configure: error: png.h not found.

 

解决方法:

yum install libpng-devel

相关文章:

  • 2021-05-23
  • 2022-12-23
  • 2021-05-08
  • 2021-12-01
  • 2021-12-10
  • 2022-12-23
  • 2021-05-29
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
  • 2021-05-15
  • 2021-06-10
  • 2021-04-11
相关资源
相似解决方案