致命错误:调用未定义的函数:imagecreate() [英] Fatal error: Call to undefined function: imagecreate()

查看:226
本文介绍了致命错误:调用未定义的函数:imagecreate()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在网页上放置一些图形,并且在计算机的原型上,它在本地主机上运行良好。但是现在我将这些文件上传到了服务器,并且我有一个问题来绘制一些图形。在我的计算机中,他们是绘制的,但在服务器上却不是。



我得到这个错误
致命错误:调用未定义函数ImageCreate()在/home/t1g01/phplot.php第248行



第248行

$ this - > img = ImageCreate($ this-> image_width,$ this-> image_height);



我也上传了phplot的文件。任何人都可以帮助我?



对不起,有任何英文错误,请事先致谢。

解决方案

这意味着你的php安装没有安装/启用gd库。



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

I'm trying to put some graphics on a web page and at my prototype at the computer it's all working fine at the localhost. But now I uploaded the files to a server and I'm having a problem to plot some graphics. In my computer they are plotted, but on the server they are not.

I'm getting this error Fatal error: Call to undefined function ImageCreate() in /home/t1g01/phplot.php on line 248

Line 248

$this->img = ImageCreate($this->image_width, $this->image_height);

I'm using phplot, and I uploaded the files form phplot too. Can anyone help me ?

Sorry for any mistake in English and thank you in advance.

解决方案

This means your installation of php doesn't have the gd library installed/enabled.

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

这篇关于致命错误:调用未定义的函数:imagecreate()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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