Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 12:37:19 PM

Pages: [1]   Go Down
  Print  
Author Topic: PHP 5.3 Upgrade?  (Read 1215 times)
Aiham
Spaceship Navigator
*****
Offline Offline

Posts: 99


WWW
« on: August 19, 2011, 03:03:36 AM »

Hi,

PHP 5.3.7 came out recently. It fixes a number of security issues.

http://www.php.net/archive/2011.php#id2011-08-18-1

I was wondering if Lunarpages plan to move to 5.3 any time soon? I know there are backward compatibility issues with 5.3 (displaying deprecated warnings and what not), but 5.3 has been out for over 2 years now.

That news post also says the following: "All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.7."

Regards,
Aiham
Logged
Aiham
Spaceship Navigator
*****
Offline Offline

Posts: 99


WWW
« Reply #1 on: August 23, 2011, 08:18:06 PM »

Apparently there was a security issue with 5.3.7 so there was a quick release of 5.3.8 a few days later

http://www.php.net/archive/2011.php#id2011-08-23-1

And it still says: "All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8."
Logged
dibbkd
Galactic Royalty
*****
Offline Offline

Posts: 240


« Reply #2 on: August 25, 2011, 07:37:09 PM »

Come on LP, I know you have a lot of servers to keep up with, and we don't expect to get every single new version immediately, but after a few years it'd be good to have new updates of at least the core software that runs the servers.  (PHP, mySQL, and Apache...)
Logged
KrisA
Customer Service Supervisor
Support Supervisor
Spacescooter Operator
*****
Offline Offline

Posts: 34


+-. Learning is a treasure .-+


« Reply #3 on: August 26, 2011, 12:43:23 AM »

We have a server running on PHP5.3. If you would like to use PHP 5.3 for your scripts, then we would need to move your account to a supporting server. Please email support with your request.

Please note that some popular scripts may not work with this version of PHP so we cannot upgrade the current shared servers to that later version due to potential compatibility problems at this time.

Our apologies for any inconvenience.
Logged

Kris Asvapatipatt
Customer Service Supervisor
Lunarpages Internet Solutions

Web: http://www.lunarpages.com/
Community: http://www.lunarforums.com/
Wiki: http://wiki.lunarpages.com
Facebook: http://www.facebook.com/lunarpages
Twitter: http://twitter.com/#!/lunarpages
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5220



« Reply #4 on: August 26, 2011, 03:42:10 PM »

PHP 5.3 broke quite a few applications (deprecated functions warnings). I think that the PHP folks royally screwed up by having it write error messages to the output stream, but that's water under the bridge... I do agree that sufficient time has passed that even folks who don't pay much attention to their site code and don't really care whether they're anywhere near the leading edge should be thinking about getting 5.3 compatible (also Apache 2 compatible, to reference dibbkd's other post, and MySQL 5 compatible to throw in yet another). Servers can't stay at old versions forever, as they will become favorite targets of hackers. Are we entering data into our PCs via punch cards, because some people couldn't be bothered to update to a keyboard?

I would suggest the following, to make it easier on unskilled site owners who really don't know what they're doing:
  • Give at least a six month warning, and send emails to all site owners reminding them (ticklers at 3 months and 1 month to go).
  • Publish a Wiki page with what kind of things can need to be updated in the code.
  • For common canned applications (at least, everything installed by Fantastico and LPCP's installer), what versions would be the new minimum level, and the easiest way to update. I'm assuming that everything currently offered on Fantastico is PHP 5.3/MySQL 5/Apache 2 compatible. (Maybe it isn't!) Note that osCommerce 2.3.1, not 3.0.2, should be the upgrade path for that product.
  • Applications that have been dropped from Fantastico, or don't have their own easy update path, or have not been updated, will be a problem for users without programming skills. Offer an inexpensive service and/or a services referral (especially to people on this forum  Hiya me me me) to people who can do the job at a fair price.
  • Consider scanning sites for code that would be known to be a problem, and informing owners of what you find. (Would many people raise a stink about LP looking through their files?) PHP 5.3 has a long list of deprecated function calls that should be fairly easy to spot. MySQL could be tougher, as SQL queries are frequently built up in PHP. At the least, you could flag JOIN commands (JOIN within a string) to be manually checked. I have no idea about Apache 2 upgrades needed.

You can call the campaign: "Let's enter the 21st century together!"  Haha  Now, there will be a few holdouts who either can't be bothered, or can't afford even a cheap fixup of their code. Maybe keep one or two servers at old (current) levels for them, and abandon them to their fate. Finally, I'm assuming that any changes needed for the new code levels will be compatible with existing PHP/MySQL/Apache, and site owners could incorporate them without trouble. Some may not be.
« Last Edit: August 26, 2011, 03:44:35 PM by MrPhil » Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
Pages: [1]   Go Up
  Print  
 
Jump to: