Troubleshoot installing WordPress themes and plugins that require input FTP issues

Source: Internet
Author: User
Tags ftp login web hosting

Web sites that use the WordPress program architecture will always prompt us for an interface to provide FTP information if you need to upgrade, install themes, or plug-ins in the background of your website. With the words "to perform the requested action, WordPress needs to access your Web server's permissions." Please enter your FTP login credentials to continue. If you have forgotten your login credentials (such as your username, password), please contact your web hosting provider. This is more troublesome, now try to solve it!

First, if we install the LNMP one-click installation package, it can be used. Authorization group to resolve.

Chown-r www/home/wwwroot/www.yxlgh.com (modified into the website domain name directory)

Second, if it is other, you can use the Add Script method in the wp-config.php file.

Define ("Fs_method", "direct");

Define ("Fs_chmod_dir", 0777);

Define ("Fs_chmod_file", 0777);

The above script can be added to the last side of the file.

In fact, these two methods are universal, there is no good or bad.

Troubleshoot installing WordPress themes and plugins that require input FTP issues

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.