MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: alex_fear on 2018-03-04, 16:43:52

Title: install php 7.0-7.1
Post by: alex_fear on 2018-03-04, 16:43:52
How to add support for php 7.0 b php 7.1?
Title: Re: install php 7.0-7.1
Post by: atljohnsen on 2018-03-04, 21:08:26
Click the Home tab and in the admin box Basic select Webserver Configure.  Here you must setup the PHP settings that you want for your hosting software.
If you are unsure about which settings to use, then here is what I recommend:
Select all php in 'multiple php install' and update. It will take some time. Wait and refresh browser untill you see all php in 'Multiple PHP Already Installed'
Use one 'phpXYm' in 'php branch' as 'base php' in 'webserver configure'. I use php56w-.
Select ‘php-branch’ in PHP Used.
Select 'php-fpm_event' for 'php type' and also enable 'Enable Multiple PHP As Secondary PHP'
Go to 'admin > switch program' and select nginx first and update. Thereafter select apache and update. This is a triks just to ensure correct setup of apache by Kloxo-MR.
Restart webserver with 'sh /script/restart-web -y' from SSH. Then to add the correct php support for your domain, select your domain after you have created it, then select Web features in the Web box and in 'PHP Selected' you choose your wanted php version and click update. Then sh /script/restart-all and you should be set,
Title: Re: install php 7.0-7.1
Post by: alex_fear on 2018-03-05, 20:50:47
When the sh / script / cleanup script is executed, the process hangs on Update All Php (branch and multiple)
- Update process
when executing the script sh / script / phpm-installer php70m -y
=== BEGIN 'php70m' install ===
- No PHP packages exists. Only detecting 'php70u', 'php70' or 'php70w'. Exit
Title: Re: install php 7.0-7.1
Post by: atljohnsen on 2018-03-05, 22:20:32
When running sh/script/cleanup be aware that update All Php (branch and multiple) process may take long time and it may look like it hangs. Be sure to give it good time (15-20 min) before you abort. Other than this I am not able to advice.
Title: Re: install php 7.0-7.1
Post by: alex_fear on 2018-03-06, 19:01:56
 yum update -y
Loaded plugins: fastestmirror, presto, priorities, protectbase, replace,
              : security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: centos.colocall.net
 * extras: centos.colocall.net
 * updates: centos.colocall.net
0 packages excluded due to repository protections
No Packages marked for Update
Title: Re: install php 7.0-7.1
Post by: azzureal on 2018-03-20, 04:52:43
why don't u try sh / script / phpm-installer php70u -y not 70m