-
CentOS7에서 VestaCP php5.6을 php7.3으로 업그레이드하기서버 2019. 1. 21. 17:14반응형
php7.3으로 업그레이드 해야하는 이유
워드프레스가 훨씬 빠르게 로드되고 리소스를 덜 사용하기 때문에 보안 및 성능이 향상됩니다.
php7.3은 이전 버전보다 5%더 빠릅니다
1. 서버에 Remi Repository를 설치
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
2. 저장소 설치 후 아래 명령입력
yum install yum-utils yum-config-manager --enable remi-php73
3. php버전 확인
yum update -y
[root@server ~]# php -v PHP 7.3.0 (cli) (built: Dec 4 2018 16:12:20) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.0, Copyright (c) 1999-2018, by Zend Technologies
4. 만약 버전 오류가 발생한다면 아래 명령에서 버전에 따라 입력 후 yum update -y
yum-config-manager --disable remi-php56 yum-config-manager --disable remi-php70 yum-config-manager --disable remi-php71 yum-config-manager --disable remi-php72
반응형'서버' 카테고리의 다른 글
VestaCP 로그인페이지 ssl 적용 (0) 2019.01.22 CWP(CentOS Web Panel) (0) 2019.01.21 RAID의 종류 (0) 2019.01.17 CentOS7 랜 관련 설정 (0) 2019.01.17 CentOS7에 Webmin 설치하기 (0) 2019.01.17 댓글