Install PHP

CentOS 7 provide PHP 5.4. But Laravel require at least 5.6.4. I added REMI repo to make laravel work.

Before install remi, I install EPEL.

$ yum install epel-release

Next, install REMI.

Try this configuration wizard.

$ yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

After set repository, you can install PHP.

$ yum install composer php php-fpm php-mysqlnd
$ systemctl start php-fpm

results matching ""

    No results matching ""