WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] VPS with LiteSpeed and cPanel having W3TC activation errors (6 posts)

  1. andrewmcconville
    Member
    Posted 2 years ago #

    I'm using a VPS from vps.net with LiteSpeed and cPanel.
    On a clean WordPress install I immediately install W3TC.

    Upon activation I get the error that /wp-content needs to be chmod 777, so I do that.
    Next error is to add define('WP_CACHE', true); to config.php, so I do that.
    Now the plugin is activated but I get an error that .htaccess needs to be chmod 777, I do that, but W3TC never writes to it, even after clicking auto-install. So I manually copy and past the code into .htaccess and the error still comes up that the code is missing.
    I can not deploy. After clicking deploy the message 'Preview mode is active:' still exists with the option to deploy.

    I've created 3 different cPanel accounts with clean WordPress installs and W3TC always gives me the same errors.

    Any tips would be helpful.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. andrewmcconville
    Member
    Posted 2 years ago #

    Also, when I need to install a plugin I have to provide my FTP information. I got around this by adding my FTP info to my wp-config.php, but could this have anything to do with my W3TC problem?

  3. andrewmcconville
    Member
    Posted 2 years ago #

    In the W3TC compatibility check I see that W3TC is looking to write to /.htaccess
    shouldn't it be directed to:
    /home/andrew6/public_html/.htaccess

    W3TC compatibility text:
    /.htaccess: Not write-able
    /home/andrewm6/public_html/wp-content: OK
    /home/andrewm6/public_html/wp-content/uploads/2012/03: OK

  4. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Are you sure that PHP is able to write files? Users and groups are ok?

  5. andrewmcconville
    Member
    Posted 2 years ago #

    Thanks for the reply Frederick,
    Turns out that W3TC was trying to write to the root of the server, not the root of the cPanel user account, which would be /home/andrew6/public_html/

  6. nadlerz
    Member
    Posted 1 year ago #

    PHC: http://www.phcorner.net/ also hosted @ vps.net, any tips on htaccess cache to implement?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic