server yum install php 7.1
2018.10.10 02:37
참고 문서 |
---|
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum update
yum-config-manager --enable remi-php71
yum install php php-opcache
yum install php-mysqlnd php-pdo
yum install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel
yum install php-memcached memcached
댓글 6
-
엘카
2019.03.11 15:53
-
엘카
2019.03.11 17:55
chkconfig httpd on
chkconfig mariadb on
chkconfig php-fpm on
-
엘카
2019.03.11 18:22
chcon -R -t httpd_sys_rw_content_t /var/www/
# php-fpm mysql
setsebool -P httpd_can_network_connect 1
setsebool -P httpd_can_network_connect_db 1
# php-fpm memcached
setsebool -P httpd_can_network_memcache 1
-
엘카
2019.03.16 23:32
https://extrememanual.net/11088 참고해서 세팅함.
;opcache.enable_cli ; 건드리지 않는다. 명령을 직접 실행할 일이 거의 없고 캐시를 만료할 방법이 없다.
opcache.memory_consumption = 128; 캐시 메모리 크기
opcache.max_accelerated_files = 20000; 파일 키 갯수
opcache.interned_strings_buffer = 16; 문자열 버퍼 크기 (MB)
opcache.revalidate_freq = 5; 변경점 체크 시간 (초)
opcache.file_cache=/var/lib/php/opcache; 메모리가 가득찬 경우 file cache 이용
opcache.enable_file_override=1; 활성화되면 opcode 캐시는 file_exists () , is_file () 및 is_readable () 이 호출 될 때 파일이 이미 캐시되었는지 여부를 확인합니다 . 이는 PHP 스크립트의 존재 여부 및 가독성을 검사하는 응용 프로그램의 성능을 향상시킬 수 있지만 opcache.validate_timestamps 가 비활성화 된 경우 부실 데이터를 반환 할 수 있습니다.
opcache.save_comments=0; 비활성화 된 경우 opcode 캐시에서 모든 문서 주석을 삭제하여 최적화 된 코드의 크기를 줄입니다. 이 구성 지시어를 비활성화하면 Doctrine, Zend Framework 2 및 PHPUnit을 포함하여 주석에 대한 주석 구문 분석에 의존하는 응용 프로그램 및 프레임 워크가 중단 될 수 있습니다.
-
엘카
2019.08.21 19:30
-
엘카
2019.12.17 00:07
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
81 | 검색엔진 등록 | 2010.05.12 | 142343 |
80 | VPS (가상 호스팅) 비교 | 2010.05.12 | 62203 |
79 | 마인크래프트 조합법 1 | 2011.04.01 | 38403 |
78 | CentOS 6 - Apache 2.4.1 컴파일 / 보안 설정 [1] | 2012.04.15 | 30243 |
77 | 리눅스 계정 생성/변경 [67] | 2011.04.02 | 29135 |
76 | Linux Memory 사용량 | 2012.05.16 | 25009 |
75 | CentOS 6 - MySQL 5.5 설치 [1] | 2012.04.15 | 21790 |
74 | Lighttpd 설치 | 2010.05.11 | 20695 |
73 | sAPM | 2010.05.12 | 20269 |
72 | php + ssh2 | 2010.06.05 | 20211 |
71 | Linux 설치시 파티션 관리 | 2012.05.12 | 19216 |
70 | Zend Optimizer + eAccelerator + Suhosin | 2010.05.11 | 18256 |
69 | MySQL 설치 | 2010.05.11 | 17286 |
68 | CentOS 6.2 다운로드 / 설치 [1] | 2012.04.15 | 17039 |
67 | Apache 설치 | 2010.05.11 | 16676 |
66 | ssh 로그인 제한 | 2011.04.05 | 16475 |
65 | 리눅스 자동 시작 | 2010.05.21 | 15896 |
64 | ftp | 2010.07.23 | 15451 |
63 | 솔라리스 mount options | 2013.10.06 | 15325 |
62 | PHP 설치 | 2010.05.11 | 15061 |
yum install php-fpm php-gd php-memcached php-mysqlnd memcached