关于GD库的开启报错

问答中心分类: OneinStack关于GD库的开启报错
cad92 asked 8 年 ago
我编辑/usr/local/php/etc/php.ini文件中
 

;extension=php_gd2.dll//去掉了前面的 ";"
extension=php_gd2.dll

然后如下报错

service php-fpm restart

Gracefully shutting down php-fpm . done
Starting php-fpm [14-Oct-2016 23:27:39] NOTICE: PHP message: PHP Warning: PHP S tartup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-deb ug-non-zts-20151012/php_gd2.dll' - /usr/local/php/lib/php/extensions/no-debug-no n-zts-20151012/php_gd2.dll: cannot open shared object file: No such file or dire ctory in Unknown on line 0
done
请问正确开启GD库方法,谢谢

1 Answers
oneinstack answered 8 年 ago
默认已经开启gd,请看phpinfo,dll是win下的,。。。