Koozali.org: home of the SME Server

Solved - Php scl

Offline fyhn

  • 2
  • +0/-0
Solved - Php scl
« on: March 18, 2020, 08:00:31 PM »
After the last update of php scl, i can't install anything, i am trying to install the latest version of Joomla, but i just get a white page, when i uninstall php scl i get a message from Joomla "Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!" but when i set the php higher with php scl i just get a white empty page, it all start with the last update of php scl.
« Last Edit: March 22, 2020, 09:59:01 AM by TerryF »

Offline warren

  • *
  • 293
  • +0/-0
Re: Php scl
« Reply #1 on: March 18, 2020, 10:20:12 PM »
After the last update of php scl, i can't install anything, i am trying to install the latest version of Joomla, but i just get a white page, when i uninstall php scl i get a message from Joomla "Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!" but when i set the php higher with php scl i just get a white empty page, it all start with the last update of php scl.

Works fine here fully upto date SME9.2
What version of smeserver-php-scl do you have running ?
Code: [Select]
rpm -qa | grep smeserver-php-scl

Output :
Code: [Select]
smeserver-php-scl-0.4-25.el6.sme.noarch

When you updated the contrib did you run :
Code: [Select]
signal-event post-upgrade; signal-event reboot


What is happens if you do from cli  :
Code: [Select]
scl enable php72 'php -v'

Output :
Code: [Select]
PHP 7.2.29 (cli) (built: Mar 17 2020 11:52:07) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.29, Copyright (c) 1999-2018, by Zend Technologies

If you are installing Joomla in an ibay, did you set the correct version of php for the ibay in Server-manager under (Php-Scl versions) ? as per wiki
Quote
Usage

When you want to change the version of php, you can use the panel (Php-Scl versions), either for changing the php version for an Ibay or for the whole server.



Offline fyhn

  • 2
  • +0/-0
Re: Php scl
« Reply #2 on: March 20, 2020, 05:41:53 PM »
Sory for the delay
I have reinstalled the server and php-scl and i got the same result when i inserted the code as you did
So it all work now

Thank you for your help  :-P

Offline warren

  • *
  • 293
  • +0/-0
Re: Php scl
« Reply #3 on: March 21, 2020, 08:44:57 PM »
Sory for the delay
I have reinstalled the server and php-scl and i got the same result when i inserted the code as you did
So it all work now

Thank you for your help  :-P

Ahh Good. Can you modify the subjetc SOLVED...