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 :: change email to username laravel login 
Php :: php date format dd-mm-yyyy 
Php :: how use variable in string in laravel 
Php :: how to unhash password_hash in php 
Php :: laravel get only validated data 
Php :: wp site url link from admin 
Php :: php in browser 
Php :: json decode php array 
Php :: wp-admin File not found (404 error) 
Php :: php wordpress 
Php :: add column to matrix php 
Php :: ERROR: The following modules depend on mpm_prefork and need to be disabled first: php7.2 
Java :: java get appdata path 
Java :: Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` 
Java :: copy to clipboard java 
Java :: spring boot call method after startup with repository 
Java :: Junit 5 console input test 
Java :: install java 11 from centos 7 
Java :: creating random color in java 
Java :: hello word java 
Java :: joptionpane.showconfirmdialog yes no example 
Java :: list to int array in java 8 
Java :: show dialog fragment from adapter 
Java :: android hide soft keyboard 
Java :: JFrame labels 
Java :: init cap java 
Java :: javafx file to image 
Java :: remove autofocus edittext android 
Java :: java input 
Java :: A horizontal line must be drawn through the diamond, centered vertically. • The message must be printed just above the line. • The message must be horizontally centered within the applet 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =