• Hello,

    I tried installing the plugin without luck. I’m running a locally hosted XAMPP server with Bitnami Workdpress that works with everything except W3 Total Cache.

    After installing the plugin, I get the message

    FTP credentials don't allow to write to file /.htaccess
    
    W3 Total Cache Error: Files and directories could not be automatically created to complete the installation.
    Please execute commands manually
    or use FTP form to allow W3 Total Cache make it automatically.

    So I went to the C:\XAMPP\apps\wordpress\htdocs\wp-config.php to check and the code is there /** Enable W3 Total Cache */ define('WP_CACHE', true); // Added by W3 Total Cache

    So I manually added the suggested code by the plugin’s error in the C:\XAMPP\apps\wordpress\htdocs\.htaccess file, that now reads

    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
        <IfModule mod_filter.c>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
        </IfModule>
    </IfModule>
    # END W3TC Browser Cache
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    
    # END WordPress

    But the problem persists. I can’t understand what I did wrong or how to move forward to test the plugin before deploying to my website. Can anyone give me a hand with this?

    https://wordpress.org/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter SHiRKiT

    (@shirkit)

    Anyone has any ideas why this does not pass? I did the whole thing 5 times already, tried uninstalling and installing again, everything I could think of but to no luck. Maybe it’s a permission issue somewhere?

    Its a known issue that W3TC’s minify does not work on Bitnami. There is also no solution as far as i know.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Not working on local XAMPP’ is closed to new replies.