install php 7.3 centos 7 code example
Example 1: install php 7.3 ubuntu
sudo apt install php7.3-cli php7.3-fpm php7.3-json php7.3-pdo php7.3-mysql php7.3-zip php7.3-gd php7.3-mbstring php7.3-curl php7.3-xml php7.3-bcmath php7.3-json
Example 2: upgrade php 7.3 centos 7
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install epel-release yum-utils
sudo yum-config-manager --disable remi-php54
sudo yum-config-manager --enable remi-php73
sudo yum update
chmod -R 777 vendor
php artisan view:clear
php artisan config:cache
sudo chgrp www-data storage -R (Note: www-data is apache on Centos 7)
sudo chmod g+rwx storage -R
if still doesn't work try:
sudo setfacl -R -d -m g::rwx storage
Example 3: php 7 in centos 7
Example 4: upgrade php 5.6 to 7 centos 7
$ wget -q http://rpms.remirepo.net/enterprise/remi-release-7.rpm
$ wget -q https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm