Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carreirorco/d2bf1f4c80fe6263dc4070cf39d05f17 to your computer and use it in GitHub Desktop.
Save carreirorco/d2bf1f4c80fe6263dc4070cf39d05f17 to your computer and use it in GitHub Desktop.
Instalação Apache 2.4 e PHP 5.6 com módulos extras no Centos 7

Instalação Apache 2.4 e PHP 5.6 com módulos extras no Centos 7

Adicionar repositório EPEL

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Instalar Apache 2.4 + ITK

yum install -y httpd httpd-itk httpd-devel httpd-tools

Instalar PHP 5.6 com módulos extra (suporte ao eDirectory)

yum install -y php56w php56w-bcmath php56w-cli php56w-common php56w-devel \
 php56w-gd php56w-intl php56w-mbstring php56w-mcrypt php56w-mysqlnd \
 php56w-odbc php56w-pdo php56w-pecl-apcu php56w-pecl-memcache \
 php56w-process php56w-xml php56w-xmlrpc

Inicie o Apache e adicione-o à inicialização do sistema

systemctl daemon-reload
systemctl start httpd
systemctl enable httpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment