CPanel Perl upgrade
CPanel is relying very much on perl, and this is why it treats the perl package as a very important one. Many of its internal scripts are written in perl, and this is why it would be best to keep your perl installation in concordance with what CPanel likes ;-).
Normally on a CPanel system you will have perl in the skip list of the update package manager (up2date/yum). The perl installation will be the one from the time CPanel was actually installed, and from what I am aware this will not be upgraded automatically. The latest perl version that CPanel has released is v5.8.7, and if you have an older install than you might have an outdated perl version on your system.
To check what is the perl version on your system, use:
perl -v
This is perl, v5.8.7 built for i686-linux
As you can see here, I am running the latest perl version available on CPanel so in this case an upgrade would not be necessary.
If you need to upgrade your perl installation, here is the proper way to do it, in order to not break your CPanel:
wget http://layer1.cpanel.net/perl587installer.tar.gz
tar xfz perl587installer.tar.gz
cd perl587installer
./install
After this is done, run:
/scripts/upcp
You can also run the following to ensure that all the necessary modules were reinstalled:
/usr/local/cpanel/bin/checkperlmodules
Once you have completed the upgrade, you can check again the perl version (perl -v) to ensure that this was properly installed.
Share This








3rd June 2006, 10:59
Works nice, as long as you don’t try this on an AMD64 plattform
Cpanel delivered a buggy, non-working dist with that upgrade, because altough it does SOME steps for 64bit upgrade, it failsw…
3rd June 2006, 11:42
Christoph,
You are correct… I have successfully performed this upgrade on a Centos AMD64 system with CPanel. In case you are interested on the details let me know and I will post some details on how this can be done on an AMD64 system. Still you are very correct about the amd64 platform and CPanel… I regret even now to have installed CPanel on such a system and not used a regular i386 as it has caused me more problems than benefits ;).
22nd May 2007, 09:06
Nice HowTo, works great.
Well done. Thank you.
13th June 2007, 16:38
Thanks very much - this was extremely helpful.