Laravel 5.5最低要求 [英] Laravel 5.5 minimum requirements
问题描述
我正在将Ubuntu 17与php 7.1配合使用,并尝试安装Laravel 5.5,但这是告诉我检查最低要求的原因.
I am using Ubuntu 17 with php 7.1 and am trying to install Laravel 5.5 but it is telling me to check the minimum requirements.
我无法安装推荐的php扩展名.我正在使用sudo add-apt-repository ppa:ondrej/php,但似乎扩展名不存在,并且来自repo不匹配
I can't install the recommended php extensions. I am using sudo add-apt-repository ppa:ondrej/php but it appears the extension are not there and there is a mismatch from the repo
Repository 'http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease' changed its 'Label' value from '***** The main PPA for PHP (5.6, 7.0, 7.1) with many PECL extensions *****' to '***** The main PPA for supported PHP versions with many PECL extensions *****'
推荐答案
您的作曲家应说出所需的扩展名. 您还可以检查文档 https://laravel.com/docs/master#installation
Your composer should say what extensions you need. You also check doc https://laravel.com/docs/master#installation
- PHP> = 7.0.0
- OpenSSL PHP扩展
- PDO PHP扩展
- Mbstring PHP扩展
- Tokenizer PHP扩展
-
XML PHP扩展
- PHP >= 7.0.0
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
XML PHP Extension
sudo apt-get install curl php-curl php-mcrypt php-mbstring php-gettext
sudo apt-get install curl php-curl php-mcrypt php-mbstring php-gettext
这篇关于Laravel 5.5最低要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!