server yum install php 7.1
2018.10.10 11: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.12 00:53
-
엘카
2019.03.12 02:55
chkconfig httpd on
chkconfig mariadb on
chkconfig php-fpm on
-
엘카
2019.03.12 03: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.17 08: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.22 04:30
-
엘카
2019.12.17 09:07
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
72 |
net::ERR_CONNECTION_REFUSED
![]() | 2021.10.11 | 0 |
71 |
php-fpm tcp to socket
![]() | 2020.01.26 | 0 |
70 | netdata 이용한 centos 모니터링 | 2020.01.26 | 1823 |
69 |
vmware with centos 7
![]() | 2019.08.23 | 0 |
68 | xe 에디터 컴포넌트 트리거 제거 | 2019.05.16 | 9763 |
67 |
my.cnf
![]() | 2019.04.11 | 1 |
66 | certbot apache multiple domain | 2019.04.10 | 1288 |
65 |
yum install latest redis
![]() | 2019.03.27 | 1647 |
64 | yum install php-apcu | 2019.03.12 | 1504 |
63 |
웹 백업 (쉘 스크립트)
![]() | 2018.10.14 | 1171 |
62 |
mysql 백업 (shell script)
![]() | 2018.10.14 | 678 |
61 | munin 설치 | 2018.10.13 | 776 |
» | yum install php 7.1 [6] | 2018.10.10 | 679 |
59 | yum install mariadb [2] | 2018.10.10 | 1137 |
58 |
위젯 많은 페이지 - 부하 분산으로 속도 향상하기
![]() | 2014.12.12 | 8537 |
57 | 간단하고 강력한 xe 보안 향상 | 2014.11.09 | 1854 |
56 |
XE Core 최적화 - html/js/css
![]() | 2014.11.08 | 2161 |
55 | 스패머 알려주는 사이트 | 2014.09.11 | 2441 |
54 | 75mb 페이지에 lazy load 적용해보기 | 2014.09.03 | 2594 |
53 | date — 로컬 날짜/시간을 형식화합니다 | 2014.07.03 | 2601 |
yum install php-fpm php-gd php-memcached php-mysqlnd memcached