C4f1151075b447779af31e99d6cf70e2c6eb47ac
By:
newbie

regarding W3 Total Cache settings

November 5, 2014 5.4k views

Hello,
just activated W3tc on my wordpress and seems working fine. just need some expert opinion which options i need to set which i must not.. currently its running under default configuration. and here's the compatibility log

Server Modules & Resources:

    Plugin Version: 0.9.4
    PHP Version: 5.5.9-1ubuntu4.4;
    Web Server: Apache
    FTP functions: Installed (required for Self-hosted (FTP) CDN support)
    Multibyte String support: Installed (required for Rackspace Cloud Files support)
    cURL extension: Not installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
    zlib extension: Installed (required for compression support)
    Opcode cache: Not installed
    Memcache extension: Not installed
    HTML Tidy extension: Not installed (required for HTML Tidy minifier suppport)
    Mime type detection: Installed (Fileinfo) (required for CDN support)
    Hash function: Installed (hash) (required for NetDNA / MaxCDN CDN purge support)
    Safe mode: Off
    Open basedir: Off
    zlib output compression: Off
    set_time_limit: Available
    mod_deflate: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_env: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_expires: Not installed (required for disk enhanced Page Cache and Browser Cache)
    mod_headers: Not installed (required for disk enhanced Page Cache and Browser Cache)
    mod_mime: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_rewrite: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_setenvif: Installed (required for disk enhanced Page Cache and Browser Cache)

Additional Server Modules

    New Relic
    PHP version: Not supported: 5.5.9-1ubuntu4. Supported versions are 5.2.x, 5.3.x, 5.4.x.
    Operating System: Supported
    Web Server: Not Supported. (Apache See NewRelic Requirements page.)

WordPress Resources

    /var/www/.htaccess: OK
    /var/www/wp-content: OK
    /var/www/wp-content/uploads/2014/11: OK
    Fancy permalinks: /%postname%/
    WP_CACHE define: Defined (true)
    URL rewrite: Enabled
    Network mode: No

somebody please explain these 3 option

HTML Tidy extension: Not installed (required for HTML Tidy minifier suppport)
mod_expires: Not installed (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not installed (required for disk enhanced Page Cache and Browser Cache)

are they very useful? if yes how can i install them?
i've install wordpress through ubuntu 14.04

regards,

1 comment
  • I do not know how useful it is, but just to establish:

    $ sudo apt-get install -y php5-tidy
    $ sudo a2enmod expires
    $ sudo a2enmod headers
    $ sudo service apache2 restart

2 Answers

To enable mod_expires and mod_headers just run:

sudo a2enmod expires headers
sudo service apache2 restart

To enable HTML Tidy, run:

sudo apt-get install php5-tidy
  • thanks man.
    but on both operation i get this msg..

    root@mrcmanager:~# sudo service apache2 restart
     * Restarting web server apache2
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
                                                                             [ OK ]
    

    is there anything i need to worry about?

    also how to activate these options?? i believe these are also important

    cURL extension: Not installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
    Opcode cache: Not installed
    HTML Tidy extension: Not installed (required for HTML Tidy minifier suppport) 
    
  • The first thing is just an information message. It's safe to ignore it. Apache is restarting successfully.

    For the cURL extension, install it with sudo apt-get install php5-curl

    Opcode cache: Not installed seems to be a bug in W3 Total Cache's detection script. It is enabled and running by default on Ubuntu 14.04. You can verify this by running php -v

    You should see something like:

    PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10) 
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
        with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
    
  • thanks man..
    cheers :)

Have another answer? Share your knowledge.