Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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
Comment

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
Comment

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
Comment

PREVIOUS NEXT
Code Example
Php :: php version check code 
Php :: how to add shortcode in html 
Php :: php curl ssl verify 
Php :: how to do laravel in sidebar active menu dynamic blade 
Php :: add like and equal in same query in laravel 
Php :: validate timestamp php 
Php :: $posts- links() laravel design error 
Php :: if is checkout page woocommerce 
Php :: bind multiple data in one id in php using php using for loop 
Php :: Search WordPress with custom field 
Php :: get user symfony 
Php :: transaction cakephp 2 
Php :: php 7 count result in database 
Php :: customer io send_at api 
Php :: explode last element php 
Php :: php remove double spaces to single space 
Php :: firebase jwt php verify 
Php :: send sms by php diafaan 
Php :: php loop through months 
Php :: cakephp 2 with customize link 
Php :: echo post content by slug 
Php :: laravel naming conventions 
Php :: get php to send email from form 
Php :: different days in carbon laravel between different dates 
Php :: array flip php 
Php :: carbon 2 days ago 
Php :: php write file 
Php :: image watermark on image laravel 8 
Php :: vue mouseover 
Php :: laravel remove public from url on shared host 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =