美文网首页
Ubuntu16.04 安装wordpress 问题集合

Ubuntu16.04 安装wordpress 问题集合

作者: 2010jing | 来源:发表于2018-03-09 22:07 被阅读12次

    1) 无法安装插件或者上传插件无法创建目录

    I can connect my vps ip with putty ,hostname is a.b.c.d , ftp user is root ,password is password .
    None of connection type (ftp or ftps) can add a new plugin .

    Failed to connect to FTP Server

    Connection Information

    To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

    解决方案

    Wordpress will prompt you for FTP credentials if it does not have permission to write the files it needs to. If you log in via putty and run the following command (assuming this is an Ubuntu droplet) it will set the files to be owned by the user that the web service is run as and should resolve the problem.

    sudo chown -Rf www-data.www-data /var/www/html/wordpress
    

    https://www.digitalocean.com/community/questions/why-i-can-t-install-a-new-plugin-on-my-wordpress


    相关文章

      网友评论

          本文标题:Ubuntu16.04 安装wordpress 问题集合

          本文链接:https://www.haomeiwen.com/subject/tqerfftx.html