PHP错误:call to undefined function imagecreatetruecolor
来源:互联网 发布:万网域名申请流程 编辑:程序博客网 时间:2024/06/05 11:02
在使用php进行绘图的过程中,出现“call to undefined function imagecreatetruecolor”错误。
可能的原因是没有安装php5-gd
<?php$testGD = get_extension_funcs("gd"); // Grab function list if (!$testGD){ echo "GD not even installed."; exit; }echo"<pre>".print_r($testGD,true)."</pre>";
确认是否安装了gd库,如果没有安装
#Ubuntuapt-get -y update && apt-get -y install php-gd
0 0
- PHP错误:call to undefined function imagecreatetruecolor
- php报错-Call to undefined function imagecreatetruecolor() in
- Call to undefined function imagecreatetruecolor() imageCreate() 的gd库解决办法
- Fatal error: Call to undefined function imagecreatetruecolor() in
- PHP: Call to undefined function imageconvolution() 错误
- PHP连接MySQL错误:Call to undefined function mysql_connect()
- php 提示Call to undefined function curl_init() 错误的解决办法
- php提示Call to undefined function curl_init() 错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- php连接PostgreSQL错误Call to undefined function pg_connect()
- php连接mysql错误:Call to undefined function mysql_connect()
- call to undefined function mysql_connect()错误解决
- Call to undefined function mysql_connect() 错误解决方法
- Call to undefined function mysqli_connect()错误解决
- phpMyAdmin错误 Call to undefined function mb_detect_encoding()
- Call to undefined function mb_detect_encoding() 错误
- 取两段时间之间的用时
- 高仿知乎日报(Material Design + MVP + RxJava + Retrofit)
- centos下配置redmine,以及邮件配置和优化
- Mac 下eclipse python 配置安装
- redis集群共享session配置
- PHP错误:call to undefined function imagecreatetruecolor
- 数据结构-向量
- JDK和CGLIB生成动态代理类的区别
- 58到家数据库30条军规解读-2
- cocos2dx-lua在ios上实现生成及扫描二维码
- oauth原理解析
- 自定义view的简单实现(一)
- win7 通过Anacoder3安装Python3.6及Numpy等库;并安装MinGW、Theano
- 数据库三范式