WP_CACHE error | WordPress.org

Is there any way to use W3 Total Cache without FTP?

I just installed W3 Total Cache and I have the following messages at the top of my dashboard as well as the W3 Total Cache settings page:

FTP credentials don’t allow to write to file /home/public/wp-config.php

That is correct. My site does not have any FTP access. I use SSH and wp-cli.

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.

… along with two buttons: “View Required Changes” and “Update via FTP”.

The required changes are as follows:

Edit file /home/public/wp-config.php and add next lines:

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

I’ve already made the required changes, but the error message persists.

Is there any way to resolve this?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer