西数超哥博客
运维经验教程分享

FastCGI sent in stderr: “PHP message: PHP Fatal error: Call to undefined function imagecreatefromjpeg()错误解决办法

原因:gd不支持jpeg,安装jpeg支持JPEG Support即可。
安装方法:
1、找到php 源码目录安装扩展。或单独自己安装,这里使用php源码原始目录。

cd ext/gd 
/usr/local/php/bin/phpize 
./configure -–with-php-config=/usr/local/php/bin/php-config –-with-jpeg-dir –-with-freetype-dir
make && make install

重启web。重新查看phpinfo支持以后即可。

转载请注明:西数超哥博客www.ysidc.top» FastCGI sent in stderr: “PHP message: PHP Fatal error: Call to undefined function imagecreatefromjpeg()错误解决办法

https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top

赞(0)
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥博客 » FastCGI sent in stderr: “PHP message: PHP Fatal error: Call to undefined function imagecreatefromjpeg()错误解决办法