Martynas,
I had some time today, so I decided to give a try to the script. I noticed a little bug. To avoid the common bug :
you should, as soon as a user wants to compile suPHP delete the previous one, to avoid this mess. I have noticed with time that mod_suphp.so isn't overwritten all the time.
Thank you for this script.
I'll add a check for it into 1.0.0, if you want to apply the patch now:
Find:
Code:
doSuPhp() {
cd $CWD;
FILE=${CWD}/suphp-${SUPHP_VER}.tar.gz
checkFile ${FILE}
echo "Extracting ...";
tar xzf ${FILE}
echo "Done.";
Add above:
Code:
if [ -e /usr/lib/apache/mod_suphp.so ]; then
rm -f /usr/lib/apache/mod_suphp.so
fi
Thank you for the report.