리눅스/Centos7

Centos7 oniguruma 설치

paletteCode 2021. 1. 9. 22:10

oniguruma다운로드 및 설치

[root@localhost ~]# wget https://github.com/kkos/oniguruma/releases/download/v6.9.6/onig-6.9.6.tar.gz
# tar zxf onig-6.9.6.tar.gz
# cd onig-6.9.6.tar.gz
[root@localhost onig-6.9.6]# ./configure --prefix=/usr/local/oniguruma
# make -j 4
# make install -j 4

php 설치 시 적용 방법

# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/oniguruma/lib/pkgconfig/

PKG_CONFIG_PATH를 이용한 php 설치 보기 (아래링크)

 

Centos7 PHP8.0 binary 설치

1. apache 구동 중단 [root@localhost ~]# systemctl stop httpd 2. 필요한 패키지 설치 및 프로그램 설치 [root@localhost ~]# yum -y install libxml2-devel libpng-devel libjpeg-devel openssl-devel libicu-d..

palette-code.tistory.com

Memo

- PKG_CONFIG_PATH환경변수에 등록을해주면 프로그램 설치시 필요한 프로그램을 찾게될때, PKG_CONFIG_PATH환경변수에 등록된 경로로 찾는다.

'리눅스 > Centos7' 카테고리의 다른 글

Centos7 vsftpd 설치  (0) 2021.02.01
bind(nameServer) zone파일 설명  (0) 2021.01.17
Centos7 libzip 설치  (0) 2021.01.09
Centos7 openssl 설치  (0) 2020.12.27
Centos7 bind9.11 설치(nameServer)  (0) 2020.12.06