본문 바로가기
PHP

Centos 6.x, PHP 7.3 yum 설치 방법

by ohrohi 2019. 4. 17.
반응형

Epel-release 설치

# yum install epel-release

 

▶ yum 리포지트리 추가

#rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

 

▶ PHP7.3 설치

#yum --enablerepo=remi-php73 install php

 

모듈 추가

# yum --enablerepo=remi-php73 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt

 

그 외 모듈추가 방법

# yum --enablerepo=remi-php73 search php | grep php73

php73.x86_64 : Package that installs PHP 7.3

php73-php.x86_64 : PHP scripting language for creating dynamic web sites

php73-php-bcmath.x86_64 : A module for PHP applications for using the bcmath

php73-php-brotli.x86_64 : Brotli Extension for PHP

php73-php-cli.x86_64 : Command-line interface for PHP

php73-php-common.x86_64 : Common files for PHP

...

...

 

 

▶ mysqlnd, php73-php-pecl-mysql 모듈 추가방법

 

# yum --enablerepo=remi-php73 search mysql |grep php73

 * remi-php73: repo1.sea.innoscale.net

- php73-php-mysqlnd.x86_64 : A module for PHP applications that use MySQL

- php73-php-pecl-mysql.x86_64 : MySQL database access functions

 

#yum list | grep php73-php-mysqlnd

php73-php-mysqlnd.x86_64          7.3.4-1.el6.remi             @remi-safe

#yum list | grep php73-php-pecl-mysql.x86_64

php73-php-pecl-mysql.x86_64               1.0.0-0.20.20180226.647c933.el6.rem

# yum -y install php73-php-mysqlnd.x86_64

# yum -y installphp73-php-pecl-mysql.x86_64

반응형

'PHP' 카테고리의 다른 글

memcached 설치 (nginx + php 5.3.3)  (0) 2019.04.25
php.ini 옵션  (0) 2019.04.17
php-fpm + nginx 소켓통신 설정방법  (0) 2019.04.16
php 7버전 설치 패키지  (0) 2019.04.12
imap 소스 설치  (0) 2016.10.04