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. 2017-11-07, 18:12:47

Author Topic: Enable/Disable zlib.output_compression pada Client  (Read 893 times)

0 Members and 1 Guest are viewing this topic.

Offline jamalrahmat

  • Valuable Member
  • *
  • Posts: 57
  • Karma: +0/-0
    • View Profile
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% /

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Enable/Disable zlib.output_compression pada Client
« Reply #1 on: 2016-06-07, 06:50:03 »
Pergi ke 'admin > servers > localhost > php configure'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline masnggakdiajak

  • Valuable Member
  • *
  • Posts: 125
  • Karma: +0/-0
    • View Profile
Re: Enable/Disable zlib.output_compression pada Client
« Reply #2 on: 2017-02-22, 08:34:31 »
Pergi ke 'admin > servers > localhost > php configure'.

Ini kalau di ON kan pengaruhnya apa pak?

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Enable/Disable zlib.output_compression pada Client
« Reply #3 on: 2017-02-22, 14:32:42 »
Sebaiknya gunakan gzip pada web server daripada yang di php. Itu lebih handal dan aman. Secara default gzip sudah enable untuk web server.

Jika memungkinkan (pakai httpd atau proxy-nya) di-enable saja pagespeed. Jika hanya pakai nginx, perlu trik khusus.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.048 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM