Obsolete Releases > SME 8.x Contribs

Need to update PHP support from 5.3.3 to 5.5.x

(1/6) > >>

brunp:
Any suggestions or instructions on how to get this done? the repo's don't contain an update and I need
the functionality in 5.5.x  (well at least 5.4.x). Is there a way to upgrade? Is it safe? I should think it is
possible. I would prefer to upgrade to 5.5.9 which is the most recent stable version.

Please let me know as soon as possible.

Thanks
Paul

janet:
brunp

Note that using a newer version of sme & underlying OS is probably the better idea to reduce dependency issues & incompatibilities etc, so take a look at sme9beta3, which still has php 5.3.3-27.
Then you can search for rpms for CentOS 6.5 to upgrade php even further, if available, & if someone has compiled them etc.
Same comments apply to sme8 if you prefer to stick with that.

You will most probably have problems when you do regular upgrades as you have a non standard version of php installed, so you are really on your own then.
There may also be "clashes" with other contribs you wish to install that require a certain (lower or specific) version of php.
You will have to sort these issues out as you go along, if at all possible, & you may have to uninstall some contribs in order to keep the newer php version. Upgrading php will not be without difficulties.

When looking for answers it's recommended to search the forums first
eg on php

Here are some threads that may be useful
http://forums.contribs.org/index.php/topic,50486.0.html
http://forums.contribs.org/index.php/topic,50582.msg254781.html#msg254781
http://forums.contribs.org/index.php/topic,50335.msg253064.html#msg253064
http://forums.contribs.org/index.php/topic,50539.msg254567.html#msg254567

You should also read this Contrib wiki which refers to installing a newer version of php to work with specific contribs etc.
http://wiki.contribs.org/PHP5
This will give you some clues as to what approaches can be safely taken.
This php5-cgi contrib is now buggy & has security issues so should not be used.
It is a guide to earlier attempts to answer the same problem you have now.

Unfortunately there is no magic "3 step" answer.

brunp:
unfortunately, upgrading to a BETA version of an O/S is not an option. This is a production server and client does not want
beta software running on site.

I am somewhat surprised that there is no easy path to upgrade PHP. Thanks for the links, I will look into it.

Cheers,
Paul

Stefano:

--- Quote from: brunp on February 10, 2014, 01:48:51 PM ---I am somewhat surprised that there is no easy path to upgrade PHP. Thanks for the links, I will look into it.

--- End quote ---

if you are used to work with RH/CentOS, you should not..

brunp:

--- Quote from: Stefano on February 10, 2014, 03:00:03 PM ---if you are used to work with RH/CentOS, you should not..

--- End quote ---

I don't follow you here....if I am using to using RH/CentOS, I should not update the php version? So, are my only options to alter my PHP
code to comply with 5.3?  I suppose this is an option, I wish I didn't have to do. I think my only issue is the way I used array's, but who knows.
I developed the code on my MAC which had PHP 5.5 on it, so wanting to retest everything to determine 5.3 compliancy is really annoying
and will delay my deployment.

Paul

Navigation

[0] Message Index

[#] Next page

Go to full version