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 | MySQL 설치 | 2010.05.11 | 17280 |
80 | Apache 설치 | 2010.05.11 | 16658 |
79 | PHP 설치 | 2010.05.11 | 15057 |
78 | Zend Optimizer + eAccelerator + Suhosin | 2010.05.11 | 18249 |
77 | Lighttpd 설치 | 2010.05.11 | 20679 |
76 | sAPM | 2010.05.12 | 20261 |
75 | VPS (가상 호스팅) 비교 | 2010.05.12 | 62201 |
74 | 검색엔진 등록 | 2010.05.12 | 142341 |
73 | html 파일에서 php 구문 숨기기 | 2010.05.17 | 6861 |
72 | php 현재 시각 출력하기 | 2010.05.17 | 4459 |
71 | php 암호화와 복호와 | 2010.05.17 | 7314 |
70 | 파일 불러오기 | 2010.05.17 | 5475 |
69 | php 에서 텍스트 파일을 생성, 수정하기 | 2010.05.19 | 9927 |
68 | php 쿠키 생성, 읽기 | 2010.05.19 | 7105 |
67 | jQuery 쿠키 | 2010.05.19 | 5021 |
66 | list-style | 2010.05.21 | 5155 |
65 | php 에서 파일 권한 설정 | 2010.05.21 | 4594 |
64 | putty | 2010.05.21 | 13465 |
63 | 리눅스 자동 시작 | 2010.05.21 | 15895 |
62 | 포커스 요소의 테두리와 웹 접근성 | 2010.05.23 | 4182 |
yum install php-fpm php-gd php-memcached php-mysqlnd memcached