某个wordpress站点在上线之后,上传图片后遇到了如下问题:

No JPEG support in this PHP build in
代码显示:

Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /Data/apps/httpd

-2.2.4/htdocs/blog/wp-admin/includes/image.php on line 162

Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /Data/apps/httpd

-2.2.4/htdocs/blog/wp-admin/includes/image.php on line 162

Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG support in this PHP build in /Data/apps/httpd

-2.2.4/htdocs/blog/wp-admin/includes/image.php on line 162

在google搜索后并未找到合适的答案;经过研究,发现一个现象:虽然wordpress提示出错,但是上传图片后,实际上图片已经在数据库中了。可以从媒体库中直接调出使用;请遇到该问题的朋友借鉴!

相关日志:

本文由赵志辉北京SEO博客原创 转载请注明作者和出处.