Skip to content

Instantly share code, notes, and snippets.

@iamdylanngo
Last active April 2, 2020 10:34
Show Gist options
  • Select an option

  • Save iamdylanngo/7929d76c5219d657e0274ffc17012f29 to your computer and use it in GitHub Desktop.

Select an option

Save iamdylanngo/7929d76c5219d657e0274ffc17012f29 to your computer and use it in GitHub Desktop.
centos7-php7.2
sudo yum install epel-release
sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum install yum-utils
sudo yum-config-manager --enable remi-php72
sudo yum update
sudo yum search php72 | more
sudo yum search php72 | egrep 'fpm|gd|mysql|memcache'
For Laravel
yum install yum-utils
yum-config-manager --enable remi-php72
yum install php php-fpm php-common php-xml php-mbstring php-json php-zip
yum install mariadb-server php-mysql
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/bin/composer
chmod +x /usr/bin/composer
cd /var/www/html/
sudo composer create-project --prefer-dist laravel/laravel testsite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment