Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2019-05-27, 02:22:14

Author Topic: Add PHP 7.2  (Read 1142 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,000
  • Karma: +1/-0
    • View Profile
Add PHP 7.2
« on: 2019-02-03, 17:33:27 »
I really need this. Anyone know how to do this?

Offline dfreddie

  • Valuable Member
  • *
  • Posts: 77
  • Karma: +0/-0
    • View Profile
Re: Add PHP 7.2
« Reply #1 on: 2019-02-04, 18:38:08 »
sh /script/phpm-config-setup php72m

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,000
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #2 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

Offline dfreddie

  • Valuable Member
  • *
  • Posts: 77
  • Karma: +0/-0
    • View Profile
Re: Add PHP 7.2
« Reply #3 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)

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,000
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #4 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)

Offline dfreddie

  • Valuable Member
  • *
  • Posts: 77
  • Karma: +0/-0
    • View Profile
Re: Add PHP 7.2
« Reply #5 on: 2019-02-15, 23:27:35 »
Yes ... I've upgrated to CentOS 7 last year.

Offline azzureal

  • Master
  • **
  • Posts: 359
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #6 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

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,000
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #7 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.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,000
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #8 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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,461
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Add PHP 7.2
« Reply #9 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.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 359
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #10 on: 2019-05-12, 12:24:52 »
Thanks a lot.

Offline azzureal

  • Master
  • **
  • Posts: 359
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #11 on: 2019-05-12, 12:59:50 »
I put all, but no list with php72 ~ 73.

Offline atljohnsen

  • Valuable Member
  • *
  • Posts: 55
  • Karma: +2/-0
    • View Profile
Re: Add PHP 7.2
« Reply #12 on: 2019-05-12, 13:44:09 »
Try sh/script/cleanup

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,461
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Add PHP 7.2
« Reply #13 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
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 359
  • Karma: +1/-0
    • View Profile
Re: Add PHP 7.2
« Reply #14 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.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.118 seconds with 23 queries.

web stats analysis