Linux WordPress FTP Account Solution

Source: Internet
Author: User

Use Ubuntu to build WordPress after changing the theme when prompted to enter the FTP account and password, the solution is mainly to the WordPress main directory of the rights owner to Apache:

Find the user name and user group used by the Apache service

  Ps-aux

Find/usr/sbin/apach username, it is the owner of Apache, I here is Www-data

sudo chown www-data:www-data-r/var/www/html/

Because my WordPress home directory is/var/www/html/

Then refresh WordPress and find the problem solved!

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.