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-08-25, 00:13:52

Author Topic: Cara mengaktifkan PHP 72 dan 73  (Read 579 times)

0 Members and 1 Guest are viewing this topic.

Offline sakarepmu

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Cara mengaktifkan PHP 72 dan 73
« on: 2019-06-29, 09:21:07 »
Sebelum nya salam kenal semua,

Saya salah satu pengguna kloxo mr dan ada hal yang ingin saya tanyakan mengenai PHP

Bagaimana cara mengaktifkan PHP 72 dan PHP 73 di kloxo MR ?

Quote
[root@usx ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019062801
   - Web: hiawatha-10.9.0-f.2.mr.el6.x86_64
   - PHP: php56s - 5.6.40-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.10 (Final) x86_64
   - Hostname: usx.sakarepmu.online
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php71u-cli-7.1.30-1.el6.ius.x86_64
        - Multiple:
          * php52m - 5.2.17-102.mr.el6
          * php53m - 5.3.29-1.ius.el6
          * php54m - 5.4.45-1.ius.el6
          * php55m - 5.5.38-1.ius.el6
          * php56m - 5.6.40-1.ius.el6
          * php70m - 7.0.33-1.ius.el6
          * php71m - 7.1.30-1.el6.ius
      - Used: --PHP Branch--
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.9.0-f.2.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.47-2.el6.x86_64
     - Nginx: nginx-1.17.1-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.39-2.el6.ius.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.27-1.mr.el6.x86_64
     - PowerDNS: pdns-4.1.8-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.5-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          4096        834       3261         11          0        264
-/+ buffers/cache:        570       3525
Swap:            0          0          0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs       80G  8.1G   72G  11% /


*** Process Time: 00:00:00:30.30227 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

Dari beberapa topik yang ada sudah saya lakukan tapi PHP 72 dan 73 tidak bisa di install

Tolong petunjuk nya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,657
  • Karma: +118/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #1 on: 2019-06-29, 09:22:11 »
Harus pakai CentOS 7 64bit.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sakarepmu

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #2 on: 2019-06-30, 02:27:11 »
Saya sudah install kloxo mr dengan centos 7 tapi setelah saya reboot vps nya tidak bisa di akses http://103.53.197.111:7778/ dan menemukan error seperti ini:

Quote
[root@sgx ~]# sh /script/restart-services

*** Process for MYSQL/MARIADB service ***
  - Process: restart
Shutting down MariaDB SUCCESS!
Starting MariaDB.190630 07:25:41 mysqld_safe Logging to '/var/lib/mysql/sgx.sakarepmu.online.err'.
190630 07:25:41 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
 SUCCESS!
-------------------------------------------------------------------

*** Process for BIND service ***
  - Process: restart
Stopping named (via systemctl):                            [  OK  ]
Starting named (via systemctl):  Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
                                                           [FAILED]
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php-fpm.service
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - Process: restart
Redirecting to /bin/systemctl stop httpd.service
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
-------------------------------------------------------------------

*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process found
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-services [--help|-h]'

Tolong bantuannya apa yang harus saya lakukan ???

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,657
  • Karma: +118/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #3 on: 2019-06-30, 06:22:38 »
Coba saya masuk ke panel. Terus lakukan setting awal pada 'switch programs', 'webserver configure', 'php configure' dan 'advanced php configure' pada 'admin > servers > (localhost)'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sakarepmu

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #4 on: 2019-06-30, 07:08:29 »
Pak, Sudah saya PM utk akses nya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,657
  • Karma: +118/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #5 on: 2019-06-30, 07:13:09 »
Saya tidak bisa masuk ssh pakai port 22.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sakarepmu

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #6 on: 2019-06-30, 09:34:21 »
Saya sudah send kembali akses nya pak di PM

Offline sakarepmu

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #7 on: 2019-07-02, 04:03:29 »
Terima kasih pak atas bantuannya dan ada hal yang ingin saya tanyakan lagi mengenai cache selain -1 pada Static Files Expire apakah ada yang lainnya pak biar lebih cepat timeout cache nya ??? tolong info nya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,657
  • Karma: +118/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #8 on: 2019-07-02, 04:34:46 »
Perlu mengaktifkan module dari php melalui 'PHP Module Status' berupa apcu' (jika tidak ada pilih 'apc') dan 'memcached' (jika tidak ada pilih 'memcache') untuk setiap php versi.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hostrator

  • Valuable Member
  • *
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #9 on: 2019-07-31, 10:42:27 »
ts

saya juga ada kendala, habis install di vps kecil.  tidak bisa mengaktifkan php 7 kenapa ya, udah coba ganti2 webserver apache, hiawatha, lighttpd, nginx. juga ganti2 dns bind, nsd, pdns , dsb tetep gagal selalu arahnya php 5.6 terus, kenapa ya

php -v
PHP 5.6.40 (cli) (built: Jan 11 2019 10:27:04)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies




Selain itu ada error kalau : sh /script/restart-all

*** Process for SPAWN-FCGI service ***
  - Process 'spawn-fcgi': restart
Restarting spawn-fcgi (via systemctl):  Job for spawn-fcgi.service failed because the control process exited with error code. See "systemctl status spawn-fcgi.service" and "journalctl -xe" for details.
                                                           [FAILED]

untuk detail sysinfo :

A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019070501
   - Web: hiawatha-10.9.0-f.2.mr.el7.x86_64
   - PHP: php56s - 5.6.40-1.ius.el7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.6.1810 (Core) x86_64
   - Hostname: localxx.web
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.40-1.ius.el7.x86_64
        - Multiple:
          * php72m - 7.2.20-1.el7.ius
          * php73m - 7.3.7-1.el7.ius
      - Used: php73m-fpm
      - Multiple: enable
   3. Web Used: nginx
     - Hiawatha: hiawatha-10.9.0-f.2.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.54-1.el7.x86_64
     - Nginx: nginx-1.17.2-1.el7.ngx.x86_64
     - Apache: httpd24u-2.4.39-2.el7.ius.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: pdns
     - Bind: bind-9.9.9-1.mr.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.1.27-1.mr.el7.x86_64
     - PowerDNS: pdns-4.1.8-1.el7.MIND.x86_64
     - Yadifa: yadifa-2.3.9-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - pop3/imap4: none
      - smtp: none
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.49-1.mr.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
              total        used        free      shared  buff/cache   available
Mem:            236          59          21           0         155         157
Swap:           255         167          88
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      9.8G  3.1G  6.2G  34% /







Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,657
  • Karma: +118/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #10 on: 2019-08-01, 14:15:39 »
Kalau mau tahu tentang 'multiple php' gunakan 'php73m-cli -v' daripada 'php -v'.

Menggunakan 'php -v' artinya anda memeriksa 'php branch' yaitu php yang diinstall secara umum melalui 'yum install'. Sedangkan untuk 'multiple php' diinstall melalui mekanisme 'khusus' (khas dari Kloxo-MR).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline redpages

  • Senior Member
  • *
  • Posts: 342
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #11 on: 2019-08-04, 02:34:39 »
apakah pilihan php 72 dan 73 hanya ada jika pake centos 7?

seberapa pengaruhnya centos 7 terhadap kinerja website? dulu saya pernah install centos 7, tapi kloxo mr yg saya install sering gagal sehingga saya balik lagi ke centos 6.

Harus pakai CentOS 7 64bit.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,657
  • Karma: +118/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP 72 dan 73
« Reply #12 on: 2019-08-04, 04:03:17 »
CentOS 7 sudah tidak ada masalah dengan Kloxo-MR 7.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.032 seconds with 22 queries.

web stats analysis