MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2019-02-03, 17:33:27

Title: Add PHP 7.2
Post by: Spacedust on 2019-02-03, 17:33:27
I really need this. Anyone know how to do this?
Title: Re: Add PHP 7.2
Post by: dfreddie on 2019-02-04, 18:38:08
sh /script/phpm-config-setup php72m
Title: Re: Add PHP 7.2
Post by: Spacedust on 2019-02-05, 12:59:03
sh /script/phpm-config-setup php72m
- Disable certain modules (rename to .nonini) in 'php.d' and 'php-zts.d'
- Copy certain files to '/opt/php72m/custom'
-- Processing for 'php.ini.base'
-- Processing for 'php-cgi.sh/php-cli.sh/php-fpm.sh/php-ls.sh'
-- Processing for 'php52-fpm.conf.base/php53-fpm.conf.base'
- Setting .sh to 755
- Creating .sh symlink
-- From '/opt/php72m/custom/php-cgi.sh' to '/usr/bin/php72m-cgi'
-- From '/opt/php72m/custom/php-cgi.sh' to '/usr/sbin/php72m-cgi'
-- From '/opt/php72m/custom/php-cli.sh' to '/usr/bin/php72m-cli'
-- From '/opt/php72m/custom/php-cli.sh' to '/usr/sbin/php72m-cli'
-- From '/opt/php72m/custom/php-ls.sh' to '/usr/bin/php72m-ls'
-- From '/opt/php72m/custom/php-ls.sh' to '/usr/sbin/php72m-ls'
-- From '/opt/php72m/custom/php-fpm.sh' to '/usr/bin/php72m-fpm'
-- From '/opt/php72m/custom/php-fpm.sh' to '/usr/sbin/php72m-fpm'
- Create symlink from /opt/php72m/usr/lib64 to /opt/php72m/usr/lib
- Need php72m installing with 'sh /script/phpm-installer php72m'

sh /script/phpm-installer php72m
=== BEGIN 'php72m' install ===
- No PHP packages exists. Only detecting 'php72u', 'php72' or 'php72w'. Exit
Title: Re: Add PHP 7.2
Post by: dfreddie on 2019-02-05, 15:29:39
For me just worked as I said ...
Give a try with: "sh /script/phpm-config-setup php72" (or php72u)
Title: Re: Add PHP 7.2
Post by: Spacedust on 2019-02-06, 21:00:49
Doesn't work :( Do you have other repos installed?

I use CentOS 6.10.

sh /script/phpm-config-setup php72
* WARNING: only for phpXYm or phpXYs (change XY to 52 - 70)

sh /script/phpm-config-setup php72u
* WARNING: only for phpXYm or phpXYs (change XY to 52 - 70)
Title: Re: Add PHP 7.2
Post by: dfreddie on 2019-02-15, 23:27:35
Yes ... I've upgrated to CentOS 7 last year.
Title: Re: Add PHP 7.2
Post by: azzureal on 2019-02-16, 07:05:01
sh /script/phpm-config-setup php72m

and but

sh /script/phpm-installer php72m, no package.

I think it is repository problem
Title: Re: Add PHP 7.2
Post by: Spacedust on 2019-02-19, 19:00:38
There is no such PHP version for old CentOS 6. I'm still using it as it's faster than 7 on slower machines.
Title: Re: Add PHP 7.2
Post by: Spacedust on 2019-05-04, 12:28:58
I was able to install remi repo and get PHP 7.3.5 working with httpd 2.4 and nginx 1.16.0

PHP 7.3.5 (cli) (built: May  1 2019 10:02:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.5, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.5, Copyright (c) 1999-2018, by Zend Technologies

Server version: Apache/2.4.39 (IUS)
Server built:   Apr  2 2019 14:11:10
Title: Re: Add PHP 7.2
Post by: MRatWork on 2019-05-04, 18:30:12
Change to 'php,php52,php52u,php52w,php53,php53u,php53w,php54,php54u,php54w,php55,php55u,php55w,php56,php56u,php56w,php70,php70u,php70w,php71,php71u,php71w,php73,php73u,php73w,php72,php72u,php72w,php73,php73u,php73w' in /usr/local/lxlabs/kloxo/etc/list/set.php.lst file to make Kloxo-MR understand new php version. And then go to 'webserver configure'.

Kloxo-MR use ius dan webtatic for repo. Remi still disabled.
Title: Re: Add PHP 7.2
Post by: azzureal on 2019-05-12, 12:24:52
Thanks a lot.
Title: Re: Add PHP 7.2
Post by: azzureal on 2019-05-12, 12:59:50
I put all, but no list with php72 ~ 73.
Title: Re: Add PHP 7.2
Post by: atljohnsen on 2019-05-12, 13:44:09
Try sh/script/cleanup
Title: Re: Add PHP 7.2
Post by: MRatWork on 2019-05-13, 04:58:53
Will releasing new update. The secret is update '/usr/local/lxlabs/kloxo/etc/list/set.php.lst' file
Title: Re: Add PHP 7.2
Post by: azzureal on 2019-05-13, 05:47:40
i run cleanup and updated /usr/local/lxlabs/kloxo/etc/list/set.php.lst as

php,php52,php52u,php52w,php53,php53u,php53w,php54,php54u,php54w,php55,php55u,php55w,php56,php56u,php56w,php70,php70u,php70w,php71,php71u,php71w,php73,php73u,php73w,php72,php72u,php72w,php73,php73u,php73w

But the same.
Title: Re: Add PHP 7.2
Post by: MRatWork on 2019-05-13, 05:50:19
Try go to 'admin > servers > localhost > webserver configure' and then install php from here.
Title: Re: Add PHP 7.2
Post by: biswajit on 2019-05-17, 15:52:43
I wanted to have php 7.3
i hope it is supported , But it is showing till php 7.2
run cleanup and tried .but 7.3 is not coming . Where can be issue ?
Title: Re: Add PHP 7.2
Post by: MRatWork on 2019-05-17, 15:56:25
Kloxo-MR use ius and webtatic repo for supply php. At this moment, only til php 7.2 support.
Title: Re: Add PHP 7.2
Post by: biswajit on 2019-05-17, 16:04:56
Thanks
when can we expect 7.3 ?
Title: Re: Add PHP 7.2
Post by: MRatWork on 2019-05-17, 16:15:10
At this moment, I try using another repo to supply php version.
Title: Re: Add PHP 7.2
Post by: Spacedust on 2019-05-17, 20:21:25
Remi repo works well for me.
Title: Re: Add PHP 7.2
Post by: MRatWork on 2019-05-17, 20:24:20
Remi repo works well for me.
Just simple for 'php branch' but need modified script code for 'multiple php'.
Title: Re: Add PHP 7.2
Post by: Spacedust on 2019-05-17, 23:43:00
I use single PHP version now.