Apache 2.4 on CentOS:
2016. 3. 27. 23:35ㆍWebServer/Apache
반응형
Apache 2.4 on CentOS:
Step 1:
cd /etc/yum.repos.d/
wget http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo
Step 2:
yum install httpd24.x86_64
Step 3:
$ /opt/rh/httpd24/root/usr/sbin/httpd -version
Server version: Apache/2.4.6 (Red Hat)
Server built: Sep 25 2013 05:25:46
NOTE: config files are in: /opt/rh/httpd24/root/etc/httpd
$ ls
conf conf.d conf.modules.d logs modules run
EDIT: in case you want to switch off Apache 2.2
$ chkconfig httpd off
$ chkconfig --list | grep httpd
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpd24-httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
EDIT 2: http://wiki.apache.org/httpd/PHP-FPM
yum install php-fpm
/etc/init.d/php-fpm starthttp://unix.stackexchange.com/questions/138899/centos-install-using-yum-apache-2-4반응형
'WebServer > Apache' 카테고리의 다른 글
| SSL 적용시키거나 멀티 도메인 설정시 에러 VirtualHost overlap on port (0) | 2024.07.11 |
|---|---|
| proxy 를 사용하면서 ip로 접속제한 또는 URL로 설정하려는 경우 (0) | 2024.01.17 |