ThinkPHP Call to undefined function Think\imagecreate解决
来源:互联网 发布:mac os x 10.12.4 编辑:程序博客网 时间:2024/05/04 15:49
写的thinkPHP登录,验证码刷不出来。
原因是没装gd库:
GD库的配置
1、windows下
修改php.ini文件,去掉extension=php_gd2.dll 前面的分号。
修改extension_dir = “c:/kaosco/php2/extensions” 为动态库所在目录
2、Linux、unix下
需要 重新编译php。
注意:
http://localhost:8080/ThinkLogin/index.php/Home/Login/verify.html
访问的是LoginController 下的verify方法。
0 0
- ThinkPHP Call to undefined function Think\imagecreate解决
- 从根本解决“Call to undefined function Think\imagecreate()”
- Call to undefined function imagecreate()
- mac THINKPHP Call to undefined function Think\imagettftext()
- thinkphp 报错:Call to undefined function think\captcha\imagettftext()
- error: Call to undefined function imagecreate()的解决办法
- Call to undefined function imagecreatetruecolor() imageCreate() 的gd库解决办法
- PHP error: Call to undefined function imagecreate()的解决办法
- PHP Fatal error: Call to undefined function ImageCreate()
- PHP发生Call to undefined function imagecreate()错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- Call to undefined function Think\mb_strlen()
- thinkPHP 运行出现Fatal error: Call to undefined function Think\imagettftext()...问题
- 解决Call to undefined function
- thinkphp Call to undefined function token_get_all
- thinkphp open,Call to undefined function imagecreatefromjpeg()
- gd 添加freetype支持 。Call to undefined function Think\imagettftext() 错误解决
- Longest Palindromic Substring
- Eclipse插件推荐
- perf 性能分析实例——使用perf优化cache利用率
- 特殊的排序(思维好题)
- C# XmlHelper
- ThinkPHP Call to undefined function Think\imagecreate解决
- 如何用JavaScript在浏览器端获取图片的原始尺寸大小?
- 生成二维码
- java常用术语
- 用户画像实例:创建可信的微博用户画像
- Swift学习笔记之枚举
- 通信协议——Http、TCP、UDP
- Leetcode NO.270 Closest Binary Search Tree Value
- java1.8--1.8入门介绍