Koozali.org: home of the SME Server

Contribs.org Forums => Koozali SME Server 10.x => Topic started by: rossbcan on March 09, 2021, 06:27:20 PM

Title: Bit the bullet, upgraded to sme-10, pleasantly surprised
Post by: rossbcan on March 09, 2021, 06:27:20 PM
I ran into issues with sme-9.2: https://forums.contribs.org/index.php/topic,54403.msg284678.html#msg284678

which I "solved" (short term) by translating my sme-9.2 VM image to qcow2 format: https://conshell.net/wiki/Convert_from_VMware_to_QEMU

However, decided to try sme-10 latest, since my sme-9.2 sites are becoming unstable and now unmaintainable. Observations:

- my php / python scl (sme-9.2 had too old package versions) issues went away. sme-10 php / python versions much more modern, so scl version control not required for my more modern (xoops CMS) site: www.rossco.org
- did not run into any hard to solve issues (mostly related to moving my site, no sme-10 issues), went pretty smooth

Have a few legacy sites, trouble on sme-10 (need older php), another topic.

...B
Title: Re: Bit the bullet, upgraded to sme-10, pleasantly surprised
Post by: ReetP on March 09, 2021, 06:53:01 PM
Excellent.

If you ask for a Rocket account & come & test & talk to us we can help, and you can help us test.

There are various ways of using older php.

CentOS7 has php 5.4 by default which will be supported for the lifetime of CentOS7.

With php-fpm you can use other versions, including php 8....

Really would suggest you stick to supported versions only though, for your own security.

So 5.4, and php-fpm 7.3 (until Dec 202) or preferably 7.4+

You really should be upgrading systems though. Yup. It's a pain in the butt. I hate rapid release..... Hey ho.
Title: Re: Bit the bullet, upgraded to sme-10, pleasantly surprised
Post by: Jean-Philippe Pialasse on March 10, 2021, 04:21:15 AM
Yeah !

Thank you for the feedback. Great news.

As pointed by John, you can use any version of php from 5.4 to 8.0

just do

Code: [Select]
db accounts setprop myibay PHPVersion ""
signal-event ibay-modify myibay

and your ibay myibay will use php54.
and contrary to fpm with sme9, fpm allows you to set per ibay php settings. ie upload size etc. 
Title: Re: Bit the bullet, upgraded to sme-10, pleasantly surprised
Post by: rossbcan on March 16, 2021, 07:26:47 PM
Further info:

Need to update smeserver-php:
yum install smeserver-php --enablerepo=smeupdates-testing

and:
db accounts setprop myibay PHPVersion "" #select php54
prop PHPVersion not set #select php7x