#! /bin/sh pn=apache2_php5 . /var/install/include/eislib . /etc/config.d/apache2 clrhome clrhome mecho -info "Edit PHP5 configuration" echo configfile="/etc/config.d/${pn}" if /var/install/bin/edit ${configfile} then if /var/install/bin/ask "Generate PHP5-Config and activate it now" "yes" then sh /var/install/config.d/${pn}.sh sh /var/install/config.d/apache2.sh if [ "${START_APACHE2}" = "yes" ] then /etc/init.d/apache2 stop sleep 2 /etc/init.d/apache2 start else mecho -error " Please activate Apache with START_APACHE2=yes in the Apache configuration! " fi else mecho -warn "You must configure the PHP istallation inside the SETUP menu" fi fi if [ "$1" != "install" ] ; then /var/install/bin/anykey fi