Cpanel

Script to install suphp in cpanel server

You can use this script to install suphp in cpanel server. #!/bin/bash DIR=/usr/local/src INSPATH=”/opt/suphp” #$1=$CUS CMDOPT=”–prefix=/opt/suphp –with-apr=/usr/local/apache/bin/ –with-apxs=/usr/local/apache/bin/apxs –with-logfile=/usr/local/apache/logs/suphp_log $CUS” #checkig previous easyapache profile if [ -e “/opt/suphp” ] || [ -e “/usr/local/apache/modules/mod_suphp.so” ]; then echo “Suphp already installed. Exiting…..!!!” exit

Fork me on GitHub