How to install mod_wsgi on cPanel server

27. November 2012 SysAdmin 0

Download mod_wsgi for cPanel.

cd /usr/local/src/ 
wget https://dl.dropboxusercontent.com/u/18588726/JobNix/custom_opt_mod-mod_wsgi.tar.gz

Then run,

tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf custom_opt_mod-mod_wsgi.tar.gz

Then recompile apache using,

/scripts/easyapache or /scripts/easyapache --skip-xen-broken-xm-check #For VPS

  • Select mod_wsgi module on selection module selection screen. – Allow the setup to finish. Restart Apache, Now you are ready to go.

Leave a Reply

Your email address will not be published. Required fields are marked *