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, 09:34:11

Author Topic: kloxo-mr how output compression?  (Read 4399 times)

0 Members and 1 Guest are viewing this topic.

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
kloxo-mr how output compression?
« on: 2014-02-23, 21:27:12 »
Quote
[root@vps ~]# php -v
PHP 5.4.24 (cli) (built: Jan 10 2014 18:37:23)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, by eAccelerator

I have installed eaccelerator, but could not find the option to turn on gzip compression in kloxo-mr panel.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kloxo-mr how output compression?
« Reply #1 on: 2014-02-24, 00:36:32 »
Read eaccelerator documentation or find out tutorial about it.

Usually, php module automatically enable if their config exist in /etc/php.d.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: kloxo-mr how output compression?
« Reply #2 on: 2014-02-25, 13:53:41 »
Read eaccelerator documentation or find out tutorial about it.

Usually, php module automatically enable if their config exist in /etc/php.d.
Quote
[root@vps ~]# uname -a
Linux 2.6.18-371.4.1.el5xen #1 SMP Thu Jan 30 07:34:50 EST 2014 i686 i686 i386 GNU/Linux

[root@vps ~]#rpm -qa apache
Apache-2.2.26

[root@vps ~]# rpm -qa | grep php
php54-mysql-5.4.24-1.ius.el5
php54-gd-5.4.24-1.ius.el5
php54-xml-5.4.24-1.ius.el5
php54-pecl-imagick-3.1.2-1.ius.el5
php54-pecl-memcached-debuginfo-2.1.0-3.ius.el5
kloxomr-thirdparty-phpmyadmin-4.0.10-1.mr
mod_suphp-0.7.2-1.mr.el5
php54-pecl-memcache-debuginfo-3.0.8-1.ius.el5
php54-common-5.4.24-1.ius.el5
php54-pdo-5.4.24-1.ius.el5
php54-pgsql-5.4.24-1.ius.el5
php54-fpm-5.4.24-1.ius.el5
php54-mcrypt-5.4.24-1.ius.el5
php54-mbstring-5.4.24-1.ius.el5
php54-process-5.4.24-1.ius.el5
php54-pecl-geoip-1.0.8-3.ius.el5
php52s-5.2.17-11.mr.el5
php54-cli-5.4.24-1.ius.el5
php54-5.4.24-1.ius.el5
php54-bcmath-5.4.24-1.ius.el5
php54-pear-1.9.4-2.ius.el5
php54-pecl-memcache-3.0.8-1.ius.el5
php54-pecl-memcached-2.1.0-3.ius.el5

[root@vps ~]#wget wget https://codeload.github.com/eaccelerator/eaccelerator/legacy.tar.gz/master
[root@vps ~]#tar -zxvf eaccelerator-eaccelerator-42067ac.tar.gz
[root@vps ~]#cd eaccelerator-eaccelerator-42067ac
[root@vps eaccelerator-eaccelerator-42067ac]#phpize
[root@vps eaccelerator-eaccelerator-42067ac]#./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config
[root@vps eaccelerator-eaccelerator-42067ac]#make && make install
[root@vps ~]#cd ..
[root@vps ~]#find / -name eaccelerator.so
/usr/lib/php/modules/eaccelerator.so
[root@vps ~]#mkdir /tmp/eaccelerator
[root@vps ~]#chmod 0777 /tmp/eaccelerator
[root@vps ~]#vi /etc/php.d/eaccelerator.ini

[eaccelerator]
extension="/usr/lib/php/modules/eaccelerator.so"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.log_file = "/var/log/eaccelerator_log"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content = "shm_and_disk"

[root@vps ~]#service httpd restart
[root@vps ~]# php -v
PHP 5.4.24 (cli) (built: Jan 10 2014 18:37:23)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, by eAccelerator


No effect, is not my method of installation error? And, wordpress edit box does not display properly. Button on the toolbar disappears, and add the media can not pop up.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kloxo-mr how output compression?
« Reply #3 on: 2014-02-25, 14:12:44 »
Look like this module already exists and detected by php.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kloxo-mr how output compression?
« Reply #4 on: 2014-02-25, 14:14:54 »
Try using xcache instead eaccelerator. Xcache more compatible for most application.
..:: 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.032 seconds with 21 queries.

web stats analysis