WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Permission Problems (10 posts)

  1. Comparativa de Bancos
    Member
    Posted 3 years ago #

    Hello,

    I am trying to install the plugin and I am getting the following error
    /var/www/vhosts/domain.com/httpdocs/wp-content/w3tc/dbcache could not be created, please run following command:
    chmod 777 /var/www/vhosts/domain.com/httpdocs/wp-content/w3tc

    I have installed the plugin before and it is working in other domains of the same dedicated server so I dont know what to do.

    I have manually created the folder /w3tc/ and /dbcache/ and giving 777 but when I try to activate it, the plugin automatically remove these folders while, at the same time, give me the error above.

    Thanks and regards

  2. nestito
    Member
    Posted 3 years ago #

    I'm having the same exact problem as antorome. I've tried creating the directories, chmod 777. No luck either.

  3. Aussie
    Member
    Posted 3 years ago #

    Same here. chmod 777 per installation instructions but receive the same error as @antorome and @nestito

    /var/www/vhosts/domain.com/httpdocs/wp-content/w3tc/dbcache could not be created, please run following command:
    chmod 777 /var/www/vhosts/domain.com/httpdocs/wp-content/w3tc

  4. Curtis4
    Member
    Posted 3 years ago #

    I was having permissions problems like this and finally enabled SuExec for Apache -- everything works great now.

  5. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    @Curtis4, thanks. did that help anyone?

  6. Curtis4
    Member
    Posted 3 years ago #

    Hi Frederick, Yes, the SuExec worked great to resolve the permission issues I was having after the 3.04 upgrade, but then I found you can't use SuExec with APC opcode cache, which was something I wanted to use.

    So it turned out I just needed to chown the home directory to the correct user and group to fix the permission issue. The nobody:nobody default needed to be changed to the correct root user and group.

    Now I've got W3TC humming, APC opcode and Cloudfront all living in harmony. My site averages about 450ms (global average - in the 'States it's <100ms) to load what would be a 1MB home page with about 150 database queries (without caching and minification).

    Thanks again for W3TC and all your help. Now if I can just do something about my domain's age. Young URLs get no Google love. But that's another forum.

    Regards,

    Curtis

  7. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Get more quality links. :)

  8. Curtis4
    Member
    Posted 3 years ago #

    So true.

  9. Comparativa de Bancos
    Member
    Posted 3 years ago #

    @Curtis4 Thanks for the info. If you dont mind, Could you please tell us how to "chown the home directory to the correct user and group to fix the permission issue"?? :)
    I don't know how to do it
    Thanks!

  10. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    @antorome, it's best to contact your host and make sure you understand how ownership/permissions work on their server. There are lots of ways things can be configured and things that can affect how they are set.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic