• 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

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m having the same exact problem as antorome. I’ve tried creating the directories, chmod 777. No luck either.

    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

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

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    @curtis4, thanks. did that help anyone?

    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

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    Get more quality links. ??

    So true.

    Thread Starter Comparativa de Bancos

    (@antorome)

    @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!

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    @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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: W3 Total Cache] Permission Problems’ is closed to new replies.