Author: admin

Remove all open_basedir restrictions in Plesk

  If you want to remove all of the open_basedir restrictions for all sites in Plesk, simply create a file called /etc/httpd/conf.d/zzz_openbasedir_removal.conf and add this text within it: <DirectoryMatch /var/www/vhosts/(.*)/httpdocs/> php_admin_value open_basedir none </DirectoryMatch> Just a note, this isn’t a

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/” ]; then echo “Suphp already installed. Exiting…..!!!” exit

Fork me on GitHub