php configure参数带全了么?
--with-gd --with-jpeg-dir --with-freetype-dir
三个缺一不可,否则这个函数就不会被编译
【 在 JulyClyde (七月) 的大作中提到: 】
: 查看phpinfo()里面包含了gd支持,包括freetype,gif,jpg,png,wbmp的支持
: 但/img_rand/img_rand.php出错:
: Fatal error:call to undefined function imagecreatefromjpeg() in /var/www/img_rand/img_rand.php on line 14
: ...................
--
FROM 61.182.213.*