已安装gd库,但仍提醒Call to undefined function imagecreatefromjpeg()

WBOY
Release: 2016-06-13 12:05:11
Original
2907 people have browsed it

已安装gd库,但仍提示Call to undefined function imagecreatefromjpeg()
已安装gd库,phpinfo()都能看到了,但仍提示Call to undefined function imagecreatefromjpeg()
请问是什么情况?
------解决方案--------------------
你的PHP版本是?phpinfo 真能看到吗
------解决方案--------------------
如果支持jpeg会看到JPG Support enabled这句的。
估计没有装好了。
------解决方案--------------------

------解决方案--------------------
要激活 jpeg-6b 的支持,加上 --with-jpeg-dir=DIR. 
------解决方案--------------------
对,重新编译

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template