참고
CentOS 7 PHP5.6 + APACHE 2 설치
참고 CentOS 7 PHP5.4 + APACHE 2 설치 # mkdir -p /root/source/archive # cd /root/source/archive 1. 레포지토리 추가 # wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm # wget http://dow..
lovapi.tistory.com
CentOS 7 PHP5.5 + APACHE 2 설치
참고: https://lovapi.tistory.com/167 CentOS 7 PHP5.4 + APACHE 2 설치 # mkdir -p /root/source/archive # cd /root/source/archive 1. 레포지토리 추가 # wget http://rpms.famillecollet.com/enterprise/remi..
lovapi.tistory.com
CentOS 7 PHP5.4 + APACHE 2 설치
# mkdir -p /root/source/archive # cd /root/source/archive 1. 레포지토리 추가 # wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm # wget http://download.fedora.redhat.com/pub/epel/5/i3..
lovapi.tistory.com
1. Webtatic 저장소 정보 넣기
먼저 CentOS 판에 맞는 Webtatic EL yum 저장소 정보를 넣어 준다.
CentOS 7.x:
yum install epel-release -y
rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm
# yum-config-manager --enable remi-php71 [Install PHP 7.1]
또는
# yum install -y epel-release
# rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
# yum --enablerepo=remi update remi-release
3. PHP 7.0 or 7.1
--# yum install php70
--# yum --enablerepo=remi-php70 install -y php php-fpm php-mysql
# yum --enablerepo=remi-php71 --skip-broken install -y yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo
4. 다른 꾸러미
# yum --enablerepo=remi-php71 --skip-broken install -y php-bcmath php-dba php-devel php-embedded php-enchant php-fpm php-gd php-imap php-intl php-ldap php-mbstring php-mssql php-mysqlnd php-odbc php-pear php-pdo php-pecl-geoip php-pecl-memcache php-pecl-xdebug php-pgsql php-process php-pspell php-recode php-snmp php-soap php-tidy php-tidy php-xmlrpc
# yum --enablerepo=remi-php71 php-gmp
Opcode Cache(opcache) 기능을 함께 깔았다면, http://php.net/manual/kr/opcache.installation.php에서 권장한 아래 값들을 참고하여 /etc/php.d/opcache.ini의 opcache 설정값들을 서버 환경에 맞게 고쳐 넣는다.
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
5. phalcon
# yum install php-phalcon
https://www.tqhosting.com/kb/473/How-to-install-PHP-70-on-CentOS-7.html
https://www.tecmint.com/install-php-7-in-centos-7/
https://docs.phalconphp.com/en/3.3/installation
'Tip & Tech > Linux | Unix' 카테고리의 다른 글
CentOS 7 PHP5.6 + APACHE 2 설치 (0) | 2019.07.15 |
---|---|
CentOS 7 PHP5.5 + APACHE 2 설치 (0) | 2019.07.15 |
CentOS 7 PHP5.4 + APACHE 2 설치 (0) | 2019.07.15 |
mod_rewrite 활성화 (0) | 2019.07.15 |
selinux 끄기 (0) | 2019.07.15 |