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.
32 lines
671 B
32 lines
671 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
|
|
|
|
#curl="curl"
|
|
#if [ $centos_ver -ge 8 ] & [ "$CONTAINERTEST" -eq "1" ]
|
|
#then
|
|
# curl="curl"
|
|
#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"
|
|
|
|
#t_InstallPackage curl
|
|
|
|
# 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
|
|
|