PDA

View Full Version : [bug] http://files.directadmin.com/services/custombuild/options



sumar
09-30-2007, 04:22 PM
http://files.directadmin.com/services/custombuild/options

if [ "${wantphp4}" = "yes" ]; then
echo -n "Do you want to have PHP4 as CLI or CGI? (cli/cgi): ";
read php4type;

until [ "${php4type}" = "cli" ] || [ "${php4type}" = "cgi" ]; do
echo -n "Please enter 'cli' or 'cgi': "
read php4type;
done

if [ "${php4type}" = "cli" ]; then
echo "php4_cli=yes" >> ${OPTIONS_CONF}
echo "php4_cgi=no" >> ${OPTIONS_CONF}
elif [ "${php4type}" = "cgi" ]; then
echo "php5_cli=no" >> ${OPTIONS_CONF}
echo "php5_cgi=yes" >> ${OPTIONS_CONF}
fi
elif [ "${wantphp4}" = "no" ]; then
echo "php4_cli=no" >> ${OPTIONS_CONF}
echo "php4_cgi=no" >> ${OPTIONS_CONF}
fi

smtalk
10-01-2007, 12:52 PM
It's already fixed. Thank you for the report.