Answers for "install php on centos 8"

PHP
0

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
Posted by: Guest on August-25-2020
0

centos php install

#first update 
sudo yum -u update
#to install php
sudo yum insall php
Posted by: Guest on September-30-2021
0

centos update php 7 to php 8

// Thêm kho lưu trữ remi
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm

// Cài đặt PHP 8.0
yum install -y --enablerepo=remi-php80 php php-cli
yum install -y yum-utils
yum-config-manager --enable remi-php80
yum install -y php php-cli
php -v
Posted by: Guest on November-01-2021

Browse Popular Code Answers by Language