在php.ini 中没有找到"extension=php_gd2.dll"这行代码,这是因为CentOS一般没有预装GD库。

解决办法:

1、在线安装GD库

yum -y install php-gd  

2、#重启apache,使其生效  

service httpd restart 

相关文章:

  • 2021-05-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2021-08-22
相关资源
相似解决方案