gpt4 book ai didi

php - fatal error : Call to undefined function: imagecreate()

转载 作者:IT王子 更新时间:2023-10-29 00:56:46 24 4
gpt4 key购买 nike

我正在尝试将一些图形放在网页上,而在我的计算机原型(prototype)中,它在本地主机上一切正常。但是现在我将文件上传到服务器,但在绘制一些图形时遇到了问题。在我的电脑中,它们被绘制出来,但在服务器上却没有。

我遇到了这个错误 fatal error :在第 248 行调用/home/t1g01/phplot.php 中未定义的函数 ImageCreate()

第 248 行

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

我正在使用 phplot,我也从 phplot 上传了文件。谁能帮帮我?

对于任何英文错误,我们深表歉意,在此先感谢您。

最佳答案

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

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

关于php - fatal error : Call to undefined function: imagecreate(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3106991/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com