Koozali.org: home of the SME Server

Forum software

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Forum software
« on: June 12, 2017, 01:30:31 AM »
What are you guys running for forum software on SME 9? I have SMF installed and running on a couple of servers internally (not web facing) I am afraid to host them in the wild as I cannot get SMF to upgrade into the 2.xx tree. The last updates to the 1.xx branch were over a year ago. Any suggestions?

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Forum software
« Reply #1 on: June 12, 2017, 02:23:23 AM »

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Forum software
« Reply #2 on: June 12, 2017, 06:24:54 AM »
That worked fine up to 1.14 when I try to upgrade to 2.0 the upgrade starts then I hit an error (it has been a bit since I tried so can't remember exactly what it is.) I tried fresh installing and upgrading on a couple of test servers and never could get the 2.xx tree to work. Does anyone have SMF at 2.0 or above running on SME 9?

guest22

Re: Forum software
« Reply #3 on: June 12, 2017, 01:30:01 PM »
https://wiki.simplemachines.org/smf/SMF2.0:Requirements_and_recommendations


See PHP requirements when using SMF >= 2.0.14. You need to install PHP Software Collections

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Forum software
« Reply #4 on: June 13, 2017, 04:58:44 PM »
That did it RequestedDeletion. I don't understand as when I tried to upgrade to version 2.0, the upgrade would fail. 2.0 shows that it only needs PHP 4.1.0.

By installing PHP Software Collections and activating version 5.4 for the http server (as apposed to an ibay as the forum is installed in /opt) the large upgrade to 2.0.14 installed flawlessly.

Can anyone tell me if activating PHP version 5.4 for the http server on a live machine will cause any of the base functions of SME9.2 to break? Does it introduce a security risk?

I would like to update the SMF page on the Contribs list detailing the steps needed to upgrade SMF to current but do not wish to break someones server or create a security risk.

I wish I had the coding skills to update that contrib to install a current version of SMF. That contrib is still from SME 7.0.....


Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Forum software
« Reply #5 on: June 13, 2017, 05:02:57 PM »
you should be find with the base functions.
I would however suggest you to activate 5.6 instead as this is the oldest still supported version of php.
Red Hat is still applying security patch to 5.3, 5.4 and 5.5 but as you have moved to a non core version of php I would suggest to get to a supported one rather than a EOL one.
From what I have tested 7.0 and 7.1 should be fine too, but I had more time using 5.6.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Forum software
« Reply #6 on: June 13, 2017, 05:07:02 PM »
OK,

will activate 5.6 and make sure the forum works correctly. I may roll back the test server and make sure the install/upgrade works with setting although I can't see why it wouldn't from the SMF requirements page that RequestedDeletion so kindly provided.

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Forum software
« Reply #7 on: June 15, 2017, 07:21:29 AM »
That did it RequestedDeletion. I don't understand as when I tried to upgrade to version 2.0, the upgrade would fail. 2.0 shows that it only needs PHP 4.1.0.

By installing PHP Software Collections and activating version 5.4 for the http server (as apposed to an ibay as the forum is installed in /opt) the large upgrade to 2.0.14 installed flawlessly.

Can anyone tell me if activating PHP version 5.4 for the http server on a live machine will cause any of the base functions of SME9.2 to break? Does it introduce a security risk?

I would like to update the SMF page on the Contribs list detailing the steps needed to upgrade SMF to current but do not wish to break someones server or create a security risk.

I wish I had the coding skills to update that contrib to install a current version of SMF. That contrib is still from SME 7.0.....

well consider that even the developers are not sure of what they say/want :

- according to HF posted page :
Versions of SMF below 2.0.7 will not work on PHP 5.5. If you use PHP 5.5 it is necessary to use SMF 2.0.7 or greater.
Versions of SMF from 2.0.14 onwards require PHP 5.4 or higher. If you use PHP 5.3 or lower is necessary to use SMF 2.0.13 or lower.

- according to the upgrade.php script:
// Version of index.php
define('SMF_VERSION', '2.0.14');

// Version of index.[language].php
define('SMF_LANG_VERSION', '2.0.14');

$GLOBALS['required_php_version'] = '5.3.0';
$GLOBALS['required_mysqli_version'] = '4.0.18';

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Forum software
« Reply #8 on: June 15, 2017, 03:15:14 PM »
I am going to document how to get a current install of the SMF forum software. It will be an advanced install as first the old version needs to be installed, then the PHP Software Collections contrib. If you wish to backup and restore the forum to a new server, you also need to install the PHPmyAdmin contrib.....

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Forum software
« Reply #9 on: June 15, 2017, 04:35:31 PM »
do not worry with this, I am currently updating the contribution to install smf 2.0.14 and require smeserver-php-scl. I will update a few elements also in the isntallation process to move them from the spec file to sme specific event, migration scrip and templates.

might however need you to test the upgrade case if you still have a backup of your forum before upgrade !

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Forum software
« Reply #10 on: June 15, 2017, 05:46:26 PM »
Wow.. I am impressed.

I would be HAPPY to test. I have a live server and a backup server that I can do a test move also!!!

THANKS,

Royce