Koozali.org: home of the SME Server

PHP53 Update

Offline HACKERSOFT2011

  • **
  • 31
  • +0/-0
  • HACKERSOFT
    • Adventist International Mission School
PHP53 Update
« on: April 26, 2011, 06:14:42 AM »
Is there any upgrade path to the latest php5.3 update?

or any rpm for php-intl on PHP 5.2.1 currently on SME Beta 6?

Thank you in advance!

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: PHP53 Update
« Reply #1 on: April 26, 2011, 05:24:06 PM »
An interesting question -- I will be watching for the answer.  But curious: Why would you need the newest version?  Is there some application which requires it or a feature in 5.3 that you need which is not available in the previous versions?

SME development is (how to put this carefully?) progressing in a way that reflects meticulous attention to detail and also the amount of time and energy available to the developers.  (I think that says it right) and SME 7.x has suffered a great deal from being stuck on a particular set of program versions which has prompted users to come up with ways to upgrade it in ways that are frowned upon and discouraged to say the least.

SME 8 isn't out of beta yet and is already suffering the same problems?  It seems too soon for that somehow.  So I am curious about what is driving the desire to go to PHP 5.3.  Some people automatically want to go to the "latest version" whatever it is without knowing why and, often without knowing what it will break.  In the past I have seen upgrades in PHP versions that completely rendered some PHP code invalid.  I was able to repair the problem eventually, but it took some doing.  What I am saying is that since SME depends on PHP and such, changing versions could potentially break all sorts of other things in ways that may not be immediately obvious.

Offline kwak

  • *
  • 13
  • +0/-0
    • http://www.aimschool.ac.th
Re: PHP53 Update
« Reply #2 on: April 26, 2011, 05:49:13 PM »
Actually, maybe the question is whether SME 8 will support or be upgrade to 5.2 or 5.3 in the future. Like what you said, the developments take longer than other distros and users may think of switching (e.g., to centos 5.6).

I'm using sme 8 b6 for our production intranet server and is very happy with it. SME is a very stable distro and quite. If users will have a assurance that the project will not die, then people will stick to it.

In my case, with my current installation, I can't install php-intl which is being checked by moodle 2.0+. I've searched for solutions but to no avail. Shouldn't this be as easy as yum install php-intl?

Kwak

Offline HACKERSOFT2011

  • **
  • 31
  • +0/-0
  • HACKERSOFT
    • Adventist International Mission School
Re: PHP53 Update
« Reply #3 on: April 27, 2011, 09:04:28 AM »
The problem is the same as with kwak's reply.

Moodle now requires php-intl for the Internationalization functions to work.

If there's an available php-intl package for PHP 5.2.1 that is currently configured
in SME 8 Beta6, that would be a good work around for now.

Hope it will be updated before the final release.

Thanks!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: PHP53 Update
« Reply #4 on: April 27, 2011, 09:32:01 AM »
Actually, maybe the question is whether SME 8 will support or be upgrade to 5.2 or 5.3 in the future. Like what you said, the developments take longer than other distros and users may think of switching (e.g., to centos 5.6).

I'm using sme 8 b6 for our production intranet server and is very happy with it. SME is a very stable distro and quite. If users will have a assurance that the project will not die, then people will stick to it.

In my case, with my current installation, I can't install php-intl which is being checked by moodle 2.0+. I've searched for solutions but to no avail. Shouldn't this be as easy as yum install php-intl?

Kwak

SME comes from CentOS that comes from RHEL.. there won't be php 5.3 but unsupported

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: PHP53 Update
« Reply #5 on: April 27, 2011, 09:50:23 AM »
There appears to be a PHP 5.3 from the remi repository.  But apparently, this issue is causing quite a stir among moodle users.  I think I would be cautious about attempting such things.  For example, install SME8b6 in a VM, update it and then do the remi install.  After that, I would make a list testing all the OTHER features and functionality of your SME test install to see how things go.  I'm quite certain that moodle will work once the upgrade is performed, but I would be more concerned about identifying the other problems it could cause.  SME is an integration of lots of things and changing that combination can sometimes yield unexpected results.  How great would it be if you got moodle working but you couldn't add a new user or an ibay or something afterwards? 

On the other hand, it might be worth investigating to see if you could hack moodle it skip over the php-intl requirement.

Offline kwak

  • *
  • 13
  • +0/-0
    • http://www.aimschool.ac.th
Re: PHP53 Update
« Reply #6 on: April 27, 2011, 05:20:16 PM »
maybe you're right erroneus. hacking moodle to skip this requirement. Actually moodle 2.0 will work without it, there's just a "check" on the server configuration which means for some languages this will cause problem.

I was using ubuntu 10.04 a week ago to test moodle 2.0, it can't handle 8 users concurrently. the server just freezes. I moved it to SMEB6 last weekend, and tested it for my class last monday, it was very fast. Satisfied with the performance.

Maybe I just have to live without intl for now.

Kwak

Offline HACKERSOFT2011

  • **
  • 31
  • +0/-0
  • HACKERSOFT
    • Adventist International Mission School
Re: PHP53 Update
« Reply #7 on: November 17, 2011, 05:03:07 AM »
Any update on this before the final release of sme 8?

The latest moodle no longer works with smeserver as well other applications that require at least
php 5.3...

Any help is well appreciated!

Have a nice day!

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: PHP53 Update
« Reply #8 on: November 17, 2011, 11:46:27 PM »
HACKERSOFT2011

sme8.0 final may be some time away as yet (months ?)

I think workarounds re Moodle were provided earlier in this thread.
sme is not an independent operating system, it is a heavily modified OS based on Centos, at present sme8b6 uses Centos 5.6, so sme will only have the base code & packages that are in the Centos version being used.
I believe sme8b7 is available using yum from smeupdates-testing repo, I'm not sure if it uses Centos 5.7
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
Re: PHP53 Update
« Reply #9 on: November 18, 2011, 01:56:25 AM »
I recently started migrating my running sme7 system to sme8 and I installed a secondary server from a sme8b7 disk that I created using jigdo.

It has php 5.3.3:

Code: [Select]
# php -v
PHP 5.3.3 (cli) (built: Nov  3 2011 17:00:19)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

and is based on Centos 5.7:

Code: [Select]
# locate centos
...
/usr/share/doc/centos-release-notes-5.7
...
Adelaide - Australia

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: PHP53 Update
« Reply #10 on: November 18, 2011, 10:29:25 AM »
PHP 5.3 is available on the mirrors as well through smeupdates-testing for SME Server 8 (see also http://mirror.contribs.org/smeserver/releases/testing/8/smeupdates-testing/i386/repoview/php.html)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)