Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable install plugins or themes when using Admin Panel #13

Open
ngmikeng opened this issue Dec 27, 2022 · 3 comments
Open

Unable install plugins or themes when using Admin Panel #13

ngmikeng opened this issue Dec 27, 2022 · 3 comments

Comments

@ngmikeng
Copy link

Wordpress ask information of FTP server when I try to install a Plugin or Theme.
image

Although we can use WP-CLI but it's good to have if we can install plugin or theme by using Admin Panel.

@YevheniiVolosiuk
Copy link

Just a quick change to wp-config.php, add this:

define('FS_METHOD','direct');

@edwinxico
Copy link

I'm having the same issue. WordPress asks for an FTP server when trying to install a Plugin or Theme.

I tried adding define('FS_METHOD','direct'); and it stopped asking for FTP information but it shows me an error message that says: Installation failed: Could not create directory. /var/www/html/wp-content/upgrade

Any help hit will be appreciated.

@YevheniiVolosiuk
Copy link

It's a folder permission problem.

You need to change permissions for upgrade or better for the full wp-content folder.

You can try:

sudo chmod -R 755 wp-content

WP docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants