在Centos 7上为Laravel 5.6安装PHP 7.2

问题描述 投票:0回答:1

我正在尝试为我在宅基盒上开发的应用程序安装PHP 7.2。我正在使用centos 7.我已经安装了PHP 7.2,git,composer等。当我在我的应用程序的父文件夹中运行composer install时,我得到:

composer errors

即使我已经添加了php7.2-mbstring,它仍然给我上面的错误。

sudo yum install php72-php-mbstring

我试图通过sudo yum install php-mbstring添加5.4的mbstring

我也没有找到任何成功。见下文。

enter image description here

php linux laravel centos7 php-7.2
1个回答
0
投票

这应该有所帮助

sudo yum install php7.2-dom 
sudo yum install php-mbstring

以该顺序

© www.soinside.com 2019 - 2024. All rights reserved.