Upgrade Python on Cpanel Server

Site Admin
Posts: 67
Joined: Fri May 31, 2013 1:04 pm

Upgrade Python on Cpanel Server

Postby hr-ethadmin » Thu Nov 28, 2013 10:58 am

Using following steps we can upgrade Python on cpanel server without any problem.

download the least version here : http://www.python.org/download/

the build it and edit cpanel config to match the new version

cd /usr/local/src/
wget http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tgz
tar -xvzf Python-2.4.6.tgz
cd Python-2.4.6/
./configure –prefix=/usr/local/python.2.4.6/
make install

now u have install python on ur system as slave version u can edit cpanel config now
vi /var/cpanel/cpanel.config then find python and comment that line # and enter line blow
do force update to ur cpanel

Return to “Hostripples dedicated Servers (Linux/Windows)”

Who is online

Users browsing this forum: No registered users and 2 guests