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-03-24, 10:40:41

Author Topic: Add PHP 7.2  (Read 524 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,971
  • 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: 3,971
  • 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: 3,971
  • 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

  • Senior Member
  • *
  • Posts: 346
  • Karma: +0/-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: 3,971
  • 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.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.037 seconds with 23 queries.

web stats analysis