Skip to content

Instantly share code, notes, and snippets.

@Benedikt1992
Benedikt1992 / setup.sh
Last active November 9, 2018 09:08 — forked from boo1ean/setup.sh
Setup apache-2.4.16 + php-5.6.11 on CentOS 6.7
#!/usr/bin/env bash
# Install dependencies
yum update -y
yum install -y gcc apr-devel apr-util-devel openssl-devel pcre-devel libxml2-devel libcurl-devel
mkdir setup && cd setup
wget http://mirror.softaculous.com/apache//httpd/httpd-2.4.16.tar.gz
tar -xvf httpd-2.4.16.tar.gz