php 썸네일형 리스트형 [draft] 우분투에서 Apache와 PHP-FPM을 설치하고 연동하는 방법 우분투에서 Apache와 PHP-FPM을 설치하고 연동하는 방법테스트 환경$ lsb_release -dDescription: Ubuntu 22.04.2 LTS1. Apache 설치Apache 웹 서버를 설치합니다.sudo apt updatesudo apt install -y apache2apache2 -vServerName 지시어 편집ServerName localhost 추가sudo sed -i '$ a ServerName localhost' /etc/apache2/apache2.confServerName 지시어가 이미 존재할 경우 수정sudo sed -i 's/^ServerName.*/ServerName localhost/' /etc/apache2/apache2.confApache 모듈 확인활성화된 모.. 더보기 [draft] PHP redis extension 모듈 설치 PHP redis extension 모듈 설치phpredis github : https://github.com/phpredis/phpredis/releasesredis 확장 모듈 설치wget https://github.com/phpredis/phpredis/archive/refs/tags/5.3.4.tar.gztar xvfz 5.3.4.tar.gzcd phpredis-5.3.4/usr/local/php/bin/phpize./configure --with-php-config=/usr/local/php/bin/php-configmakemake install$ make install--output--Installing shared extensions: /usr/local/php/lib/php/exten.. 더보기 이전 1 다음