Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing mix/mix (v2.0.7)
- Installing mix/mix (v2.0.7): Loading from cache
Created project in /home/wwwroot/mix
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-redis * is missing from your system. Install or enable PHP's redis extension.
Problem 2
- The requested PHP extension ext-mbstring * is missing from your system. Install or enable PHP's mbstring extension.
但是我本地输出 phpinfo() 跟 执行 php -m 都有这两个扩展
我也本地测试 redis
$redis = new Redis() or die("Cannot load Redis module.");
$redis->connect('localhost',6379);
$auth = $redis->auth('redis');//redis 改为你的 redis 密码
$redis->set('name', '111');
echo $redis->get('name');
结果是输出 111
求各位大佬支个招