toolkit/func/stacks/lamp/00-install-lamp.sh
2021-07-04 23:50:25 -07:00

20 lines
379 B
Bash
Executable file

#!/bin/bash
r_log "lamp" "Install LAMP packages"
# this shouldn't change for 9
if [ "$RL_VER" -ge 8 ]; then
p_installPackageNormal mariadb mariadb-server httpd php php-mysqlnd wget
fi
m_serviceCycler httpd stop
# for some reason or another, httpd doesn't stop right away
# in some instances.
if pgrep httpd; then
killall -9 httpd
fi
sleep 1
m_serviceCycler httpd start