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. 2024-04-27, 18:07:38

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jamalrahmat

Pages: 1 ... 3 4 [5]
61
Selamat siang Pak Mustafa. Bertanya kembali.

Bagaimana ya cara enable maupun disable zlib.output_compression pada client?

Di panel Admin: PHP Config > Output Compression = OFF
Di panel Client: PHP Config > Output Compression = ON

1. Bisakah kita membuat off hanya pada client (kalau bisa sih tiap domain saja)?
2. Jika kita buat off secara global file php.ini manakah yang di edit? Apakah yang berada di /etc/php.in?

Terima kasih :)

Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016060603
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: s2.hostingbanua.com
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
   2. PHP:
      - 'Branch' installed: php54-cli-5.4.45-1.ius.el6.x86_64
      - 'Multiple' installed:
        * php56m-5.6.22-1.ius.el6
        * php70m-7.0.7-1.w6
      - 'Used' selected: php70m-fpm
      - 'Multiple' status: enable
   3. Web Used: nginxproxy
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.11.1-1.el6.ngx.x86_64
     - Httpd: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.19.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024       1023          0         44          0        983
   -/+ buffers/cache:         39        984
   Swap:          512        364        147
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       75G   39G   37G  51% /

62
Indonesia Users / [ASK] Web Sering Missing MySQL Extension
« on: 2016-06-04, 06:40:02 »
Selamat siang Pak Mustafa...

Bertanya kembali karena web sering saja mati.

Status: Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

Penyebab:

1. Web mati jika menjalankan restart-services.

Jika di reboot atau di restart-web maka kembali seperti semula.

2. Setelah web jalan kembali pasti nanti beberapa jam kemudian pasti mati kembali sehingga harus restart-web maupun di reboot.

Kira-kira ada salah dimana ya?

Status:
- Ada 2 klien dengan settingan resource plan unlimited semua.
- Status PHP-FPM
Code: [Select]
*** Process for PHP-FPM service ***
  - Process: restart
Stopping php-fpm (PHP Used):                               [  OK  ]
Starting php-fpm (PHP Used):                               [  OK  ]
-------------------------------------------------------------------

dir: cannot access /opt/php*m/usr/bin/php: No such file or directory
*** No 'multiple PHP' execute because no conf files ***
-------------------------------------------------------------------
- Status PS AUX MySQL
Code: [Select]
mysql    25577  0.1  8.5 422752 89744 pts/0    Sl   00:53   0:00 /usr/sbin/mysql
sysinfo:
Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016060305
   - Web: hiawatha-10.2.0-f.7.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: s2.hostingbanua.com
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
   2. PHP:
      - Branch: php70w-cli-7.0.7-1.w6.x86_64
      - Used: --Use PHP Branch--
   3. Web Used: nginxproxy
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.11.1-1.el6.ngx.x86_64
     - Httpd: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.19.mr.el6.x86_64
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        669        354         44          0        404
   -/+ buffers/cache:        264        759
   Swap:          512          0        511
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       75G  3.9G   72G   6% /

63
Quote
Coba reinstall apache/httpd 2.2 dengan 'yum reinstall httpd* mod_* -y' dan kemudian jalankan 'sh /script/restart-web -y'. Saya memang menemukan 'keanehan' ini

Mantap Pak...

Yang merah ganti jadi IJO semua.
Status OK.

Terima kasih atas bantuannya :)

64
Selamat siang Pak Mustafa...

Entah kenapa setiap kali mencoba Kloxo-MR 7 fresh install pasti Apache dan PHP FPM-nya failed. Padahal kalau dulu baik-baik saja.

Saya sertakan beberapa screenshot:

Instalasi:
http://prnt.sc/b9orcl

Setelah instalasi beres, setting PHP 7 dan nginx-proxy lalu restart services:
http://prnt.sc/b9os71

Berikut sysinfo:

Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016052507
   - Web: hiawatha-10.2.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: s2.hostingbanua.com
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
   2. PHP:
      - Branch: php70w-cli-7.0.6-1.w6.x86_64
      - Used: --Use PHP Branch--
   3. Web Used: nginxproxy
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.11.0-1.el6.ngx.x86_64
     - Httpd: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        211        812          4          0         46
   -/+ buffers/cache:        165        858
   Swap:          512          0        512
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       75G  1.9G   74G   3% /

Yang sudah dilakukan:
- Cleanup
- Reboot

Setelah reboot, coba restart-services NGINX fail dan PHP FPM masih fail.

Code: [Select]
*** Process for PHP-FPM service ***
  - Process: restart
Stopping php-fpm:                                          [FAILED]
Starting php-fpm: [29-May-2016 00:30:06] ERROR: Unable to globalize '/opt/configs/php-fpm/conf/php/*.conf' (ret=2) from /etc/php-fpm.conf at line 18.
[29-May-2016 00:30:06] ERROR: failed to load configuration file '/etc/php-fpm.conf'
[29-May-2016 00:30:06] ERROR: FPM initialization failed
                                                           [FAILED]

Code: [Select]
*** Process for NGINX service ***
  - Process: restart
Stopping nginx:                                            [FAILED]
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
                                                           [FAILED]

Apache juga fail kalau di stop Pak, namun kalau di start bisa sih.
Code: [Select]
service httpd stop
Untuk nginx, biasanya kalau saya kill manual dan start kembali beres sih.
Tapi kalau PHP-FPM, saya tidak tahu.

Salah dimana ya Pak kira-kira?

Pages: 1 ... 3 4 [5]

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

Page created in 0.077 seconds with 20 queries.

web stats analysis