• Resolved bakenoor1

    (@bakenoor1)


    I am having the following error when installating W3 Total Cache:

    
    FTP credentials don't allow to write to file /var/www/html/mazavaroo/wp-config.php
    
    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.

    Below is the commands used for setting permission.

    chown apache:apache  -R wordpress
    cd wordpress
    find . -type d -exec chmod 755 {} \;
    find . -type f -exec chmod 644 {} \;

    To add, I have even tried to set the entire folder to 777 using chmod -R 777 wordpress but still having the same problem

    Any hint on how to solve this?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @bakenoor1

    Thank you for the information.
    You should check the wp-config.php file itself and see the file permission – it should be set to 644
    Alternatively, you can manually add the constant that W3TC adds to the wp-config.php file:

    /** Enable W3 Total Cache */
    define('WP_CACHE', true); // Added by W3 Total Cache

    just after the opened <?php tag

    Let me know if this helps!

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘FTP Error when installing’ is closed to new replies.