You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
551 B
24 lines
551 B
#!/bin/bash
|
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
# Christoph Galuschka <tigalch@tigalch.org>
|
|
|
|
php_mysql="php-mysql"
|
|
if [ $centos_ver -ge 7 ]
|
|
then
|
|
php_mysql="php-mysqlnd"
|
|
fi
|
|
|
|
# Install tests deps
|
|
# t_Log "Running $0 - httpd: installing $curl, http, php and $php_mysql"
|
|
t_Log "Running $0 - httpd: installing http, php and $php_mysql"
|
|
|
|
# HTTPD / PHP
|
|
# t_InstallPackage $curl httpd mod_ssl php $php_mysql
|
|
t_InstallPackage httpd mod_ssl php $php_mysql
|
|
t_ServiceControl httpd stop
|
|
sleep 3
|
|
killall httpd
|
|
sleep 3
|
|
t_ServiceControl httpd start
|
|
|