Installation request for topthink/think-captcha ^3.0 -> satisfiable by topthink/think-captcha[v3.0.0].
for gt by request 3.0 -& installation v3.0
2023-09-27 14:19:39 时间
ThinkPHP5.1安装图形验证码的时候报错:
Problem 1
- Installation request for topthink/think-captcha ^3.0 -> satisfiable by topthink/think-captcha[v3.0.0].
- topthink/think-captcha v3.0.0 requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[6.0.x-dev, v6.0.0-rc2] but these conflict with your requirements or minimum-stability.
出错原因:
当我们使用命令 composer require topthink/think-captcha
下载验证码库时,默认下载最新版本,当前最新版本是3.0,3.0版本是为ThinkPHP6准备的,所以我们需要下载2.0版本验证码库,2.0版本的才是为ThinkPHP5.1准备的,所以当我们使用composer命令下载验证码库的时候指定版本号即可
composer require topthink/think-captcha=2.*
相关文章
- What is the use for Task.FromResult<TResult> in C#
- vue - webpack.dev.conf.js for FriendlyErrorsPlugin
- MySQL for Windows 解压缩版配置安装
- MDN > Web technology for developers > HTTP
- MacBERT: Revisiting Pre-trained Models for Chinese Natural Language Processing 文章阅读
- ActiveMq报错Channel was inactive for too (>30000)long
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1169 > 1024)
- Qt error ------ no matching function for call to QObject::connect(QSpinBox*&, <unresolved overloaded function type>, QSlider*&, void (QAbstractSlider::*)(int))
- Office 2016 for Mac 15.24已推送至Office Insider慢速更新通道
- [WARNING] The POM for com.tenyears:base-common:jar:1.0 is invalid, transitive dependen
- 《Unsupervised Intra-domain Adaptation for Semantic Segmentation through Self-Supervision》论文笔记
- Initialization failed for ‘http://start.spring.io‘