Page 1 of 1

CMSMS Installer needs PHP 7.0+

Posted: Fri Aug 03, 2018 3:01 pm
by paulhermans
Hi guys, just a quick note:

On the download page:https://www.cmsmadesimple.org/downloads/cmsms/

It says "Versions 2.2 and above require PHP 5.6+ (recommended PHP 7.0+)."

But when I upload this file (in binary mode of course) to a webserver it doesn't work with php 5.6. When I change to php 7.0+ it works.

Error 500:
mod_fcgid: stderr: PHP Fatal error: Phar::webPhar(): Failed opening required 'phar:///var/www/vhosts/site/cmsms-2.2.8-install.php/index.php' (include_path='phar:///var/www/vhosts/site/cmsms-2.2.8-install.php:.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/site/cmsms-2.2.8-install.php on line 8

It doesn't matter for me, it's just for your information.

Re: CMSMS Installer needs PHP 7.0+

Posted: Fri Aug 03, 2018 3:12 pm
by DIGI3
The installer doesn't (yet) require PHP 7, but you probably just worked around a bug in some versions of PHP that was fixed in 7.x.

You may find that the expanded installer will work for you in 5.6.

That said, 7.x is the way to go if you can :)