#安装php 7.3
yum install epel-release -y
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y
yum install php73-php-cli php73-php-mbstring php73-php-pdo php73-php-xml php73-php-soap php73-php-gd php73-php-common -y
ln -sf /usr/bin/php73 /usr/bin/php
#1、下载composer.phar
curl -sS https://getcomposer.org/installer | php
#2、把composer.phar移动到环境下让其变成可执行
mv -f composer.phar /usr/bin/composer
#安装laravel 最新 自动按php版本选择
#项目名 hello
composer create-project --prefer-dist laravel/laravel hello
03-29
240