PDA

View Full Version : Better information for upgrading from Perl 5.6.0 to Perl 5.8.7



aberg
05-20-2007, 04:29 AM
This week-end i have upgrade through the manager panel the perl version.
I think that the instructions to do that which the site manager must better.
Ofcourse it is ease to uninstall the old perl version. ( 5.6.0.) and install the new version (5.6.8.)
But.......
Yes a lot of problems.
Al the scripts on the website which using perl stop working.
So the only thing i could do was ask for support.
I did that with the chat.
After a couple of minutes...... i ask of it is maybe better to reinstall the old perl version.
But, that's seems to be impossible if you remove old scripts from out the sitemanager.
The only thing I could do was install the version 5.6.8.
So I'am must use this version.
At that point unfortunately the support can't do something for me.
I get the hint to upgrade some perl script to make it work with the new version.

After that I decide to a closer examination about the problems.
It can't be that after a upgrade all the sitescripts must be upgrade or don't work anymore.
To test te perl I have install the search with is in the site manager and that works.
After the testing I have make a copy to my local disk to check the settings.
AND....
Yes, the path to the perl script is changed!!
First it was:
/usr/bin/
after upgrading to perl 5.6.8. it is:
/usr/bin/perl -w
after I had change al the scriptssettings the site is now working good.

I don't know why this is happen,but I think that if there are upgrades in the manager panel this kind of problems what can happen must be told.
I think I'am not the only one who have this kind of problems when upgrading.
The manager panel is making for easy install programs and scripts for people who don't have much experience.
If than the install or path to programs changed it seems to me that you must give this information.

For those how ask why I have upgrade the perl version.
I get a lot of spam and as you know the last spam program is perl 5.6.8. equisitely

Ok, that's my story.
One thing about the support guy.
He takes the time to help you.
So I don't want to treat him.

rolling
05-20-2007, 03:10 PM
Yes, it would have been nice to know. That one caught a few of us out ;)

bartgragg
05-24-2007, 10:33 AM
Richard;
Can you clarify for me what I have to look out for when upgrading Perl, Python and MySQL? I am concerned about my blog, which uses WordPress, and I went to your blog and noticed not only do you use Wrodpress but the same theme. I have some add-ons to my blog as well that I don't want affected.

Bart

rolling
05-25-2007, 11:58 AM
If you install everything from the Site Manager, then everything works fine as Westhost make you uninstall and reinstall everything when upgrading core packages such as php, perl and python.

For this reason, I do my own installs of most packages; there's no reason why you should have to uninstall packages when upgrading their interpreter if things are done properly - after all, you don't have to uninstall Excel, Firefox, Real Player etc when applying Windows updates (What Microsoft doing something correctly ?! ;) )

Just make sure that any applications and scripts which you left installed during the upgrade still work after upgrading. I forgot that I had some cron tasks which used the full path and so these no longer worked after the upgrade due to the change of location of the perl interpreter.

bartgragg
05-25-2007, 01:18 PM
Thanks, Richard.