1. # chmod 755 /var/www/vhosts/domain.com/httpdocs/wp-content/
  2. General" tab and select your caching methods for page, database and minify. In most cases, "disk enhanced" mode for page cache, "disk" mode for minify and "disk" mode for database caching are "good" settings.', 'w3-total-cache' ); ?>
  3. Page Cache Settings" tab will enable functionality that optimizes the interoperablity of caching with WordPress, is disabled by default, but highly recommended. Years of testing in hundreds of thousands of installations have helped us learn how to make caching behave well with WordPress. The tradeoff is that disk enhanced page cache performance under load tests will be decreased by ~20% at scale.', 'w3-total-cache' ); ?>
  4. Recommended: On the "Minify" tab all of the recommended settings are preset. Use the help button to simplify discovery of your CSS and JS files and groups. Pay close attention to the method and location of your JS group embeddings. See the plugin\'s FAQ for more information on usage.', 'w3-total-cache' ); ?>
  5. Recommended: On the "Browser Cache" tab, HTTP compression is enabled by default. Make sure to enable other options to suit your goals.', 'w3-total-cache' ); ?>
  6. Recommended: If you already have a content delivery network (CDN) provider, proceed to the "Content Delivery Network" tab and populate the fields and set your preferences. If you do not use the Media Library, you will need to import your images etc into the default locations. Use the Media Library Import Tool on the "Content Delivery Network" tab to perform this task. If you do not have a CDN provider, you can still improve your site\'s performance using the "Self-hosted" method. On your own server, create a subdomain and matching DNS Zone record; e.g. static.domain.com and configure FTP options on the "Content Delivery Network" tab accordingly. Be sure to FTP upload the appropriate files, using the available upload buttons.', 'w3-total-cache' ); ?>
  7. Optional: On the "Database Cache" tab the recommended settings are preset. If using a shared hosting account use the "disk" method with caution; in either of these cases the response time of the disk may not be fast enough, so this option is disabled by default.', 'w3-total-cache' ); ?>
  8. Optional: On the "Object Cache" tab the recommended settings are preset. If using a shared hosting account use the "disk" method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Test this option with and without database cache to ensure that it provides a performance increase.', 'w3-total-cache' ); ?>
  9. Optional: On the "User Agent Groups" tab, specify any user agents, like mobile phones if a mobile theme is used.', 'w3-total-cache' ); ?>

FAQ for more details on usage', 'w3-total-cache' ); ?>.


:


$descriptors ): ?>

:


Server Preparation:
Time required: ~1 minute', 'w3-total-cache' ); ?>

  1. Install yum if you don\'t already have it. Then, if you like, you can update all of your installed software, but do so only if you have the experience and time to double check configurations afterwards:', 'w3-total-cache' ); ?>
    # yum update
  2. PECL:', 'w3-total-cache' ); ?>
    # yum install php-pear
  3. PHP Development package:', 'w3-total-cache' ); ?>
    # yum install php-devel
  4. # yum install httpd-devel
  5. # yum install gcc make
  6. # yum install zlib-devel
  7. # yum install pcre-devel


Time required: 2 minutes', 'w3-total-cache' ); ?>

  1. # yum install libevent libevent-devel
    latest stable version:', 'w3-total-cache' ); ?>
    # cd /usr/local/src && wget http://monkey.org/~provos/libevent-2.0.14-stable.tar.gz && tar -xzf libevent-2.0.12-stable.tar.gz && cd libevent-2.0.12-stable
  2. # ./configure && make && make install
  3. # echo "/usr/local/lib/" > /etc/ld.so.conf.d/libevent.conf
  4. # ldconfig -v
  5. latest stable memcached, download and extract:', 'w3-total-cache' ); ?>
    # cd /usr/local/src && wget http://memcached.googlecode.com/files/memcached-1.4.6.tar.gz && tar -xzf memcached-1.4.6.tar.gz && cd memcached-1.4.6
  6. # ./configure && make && make install
  7. # touch /etc/init.d/memcached
    # echo '#!/bin/sh -e' >> /etc/init.d/memcached
    # echo '/usr/local/bin/memcached -d -m 128 -p 11211 -u nobody -l localhost' >> /etc/init.d/memcached
    # chmod u+x /etc/init.d/memcached
    # echo '/etc/init.d/memcached' >> /etc/rc.local
  8. # /etc/init.d/memcached

PECL Memcached Module Installation:
Time required: 1 minute', 'w3-total-cache' ); ?>

  1. PECL (and skip to #4 if successful):', 'w3-total-cache' ); ?>
    # pecl install memcached
  2. latest stable version and extract:', 'w3-total-cache' ); ?>
    # cd /usr/local/src/ && wget http://pecl.php.net/get/memcache-2.2.6.tgz && tar -xzf memcache-2.2.6.tgz && cd memcache-2.2.6
  3. # phpize && ./configure && make && make install
  4. # cp /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/w3-total-cache/ini/memcache.ini /etc/php.d/
  5. # /etc/init.d/httpd restart
  6. # php -r 'phpinfo();' | grep 'memcache'

PECL Alternative PHP Cache (APC) Installation (Recommended):
Time required: 1 minute', 'w3-total-cache' ); ?>

  1. APC using the PECL command (and skip to #5 if successful):', 'w3-total-cache' ); ?>
    # pecl install apc
  2. latest stable version and extract:', 'w3-total-cache' ); ?>
    # cd /usr/local/src && wget http://pecl.php.net/get/APC-3.1.9.tgz && tar -xzf APC-3.1.9.tgz && cd APC-3.1.9
  3. # whereis php-config
    # whereis apxs
  4. # phpize && ./configure --enable-apc --enable-apc-mmap --with-apxs=/usr/sbin/apxs --with-php-config=/usr/bin/php-config && make && make install
    The result should be similar to:
  5. # cp /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/w3-total-cache/ini/apc.ini /etc/php.d/
  6. # /etc/init.d/httpd restart
  7. APC should now be available. If the following command retuns anything, you\'re all set:', 'w3-total-cache' ); ?>
    # php -r 'phpinfo();' | grep 'apc'

XCache Installation:
Time required: 1 minute', 'w3-total-cache' ); ?>

  1. latest compatible version and extract:', 'w3-total-cache' ); ?>
    # cd /usr/local/src && wget http://xcache.lighttpd.net/pub/Releases/1.3.2/xcache-1.3.2.tar.gz && tar -xzf xcache-1.3.2.tar.gz && cd xcache-1.3.2
  2. # whereis php-config
  3. # phpize && ./configure --with-php-config=/usr/bin/php-config --enable-xcache --enable-xcache-optimizer --enable-xcache-coverager && make && make install
    Installing shared extensions: /usr/lib/php/modules/
  4. # cp /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/w3-total-cache/ini/xcache.ini /etc/php.d/
  5. # /etc/init.d/httpd restart
  6. # php -r 'phpinfo();' | grep 'xcache'

eAccelerator Installation:
Time required: 1 minute', 'w3-total-cache' ); ?>

  1. PHP v5+, download the lastest compatible version and extract. Remember v0.9.5.3 is the last version that supports user objects, later versions only support opcode caching.', 'w3-total-cache' ); ?>
    # cd /usr/local/src && wget http://autosetup1.googlecode.com/files/eaccelerator-0.9.5.3.tar.bz2 && tar -xjf eaccelerator-0.9.5.3.tar.bz2 && cd eaccelerator-0.9.5.3
  2. # whereis php-config
  3. # phpize && ./configure --with-eaccelerator-shared-memory --with-php-config=/usr/bin/php-config && make && make install
    Installing shared extensions: /usr/lib/php/modules/
  4. # cp /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/w3-total-cache/ini/eaccelerator.ini /etc/php.d/
  5. # /etc/init.d/httpd restart
  6. # php -r 'phpinfo();' | grep 'eaccelerator'

New Relic Installation:
Time required: Mileage varies.

Find requirements and installation instructions on New Relic website: Installing New Relic for PHP. To see if this server supports New Relic click "compatibility check" on the Dashboard tab. Other key resources can be found below:


  • your requests.', 'w3-total-cache' ); ?>
  • IIS is realized via WebMatrix, which also includes the supported WinCache opcode cache.', 'w3-total-cache' ); ?>