提示错误 Call to undefined function imagepng() in …

原因:macbook系统自带的 PHP5.5 的 GD 库有问题。

解决方法:
在终端运行:curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5
等待安装,然后就ok了。
posted @   hereim  阅读(330)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示