imagecreatefromjpeg和类似功能在PHP中不起作用 [英] imagecreatefromjpeg and similar functions are not working in PHP

查看:82
本文介绍了imagecreatefromjpeg和类似功能在PHP中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经进行了搜索,过去的问题中提供的解决方案对我来说是完全无法理解的.每当我运行imagecreatefromjpeg之类的函数时,都会得到此信息:

I’ve searched for this and the solutions provided in past questions are completely incomprehensible to me. Whenever I run functions like imagecreatefromjpeg, I get this:

严重错误:调用未定义的函数imagecreatefromjpeg()...

Fatal error: Call to undefined function imagecreatefromjpeg() ...

我正在开发新版本的PHP;我的上次安装从未遇到此问题.我不知道发生了什么.

I’m working on a new install of PHP; my last installation never had this problem. I don’t get what’s going on.

推荐答案

安装GD库

您正在使用哪个操作系统?

Which OS you are using?

http://php.net/manual/en/image.installation.php

Windows http://www.dmxzone.com/go/5001/how-do-i-install-gd-in-windows/

Linux http://www. cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/

这篇关于imagecreatefromjpeg和类似功能在PHP中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆