【问题标题】:Laravel Homestead & WordPress deleting plugins needs FTP?Laravel Homestead 和 WordPress 删除插件需要 FTP?
【发布时间】:2020-04-15 14:52:52
【问题描述】:

虽然我安装了 wp-cli,但我不希望这在开发过程中造成任何进一步的问题。我通过 vagrant-mutate 和 Apache 中的 WP 站点(通过 NFS 同步文件夹)使用 libvirt 提供程序(而不是 Virtualbox,例如)运行 Homestead。但是要删除一个插件,它会说:“要执行请求的操作,WordPress 需要访问您的网络服务器。请输入您的 FTP 凭据以继续。”我尝试在站点目录中执行chown -Rf www-data.www-data . 导致所有内容都显示“未指定输入文件”,所以我只是重新安装了它。我该怎么办?

【问题讨论】:

    标签: php wordpress apache homestead


    【解决方案1】:
    // find your full path by PWD (Present working directory) Linux command then try following example command 
    
    pwd 
    
    // Check this command in SSH 
    
        chown -R www-data:www-data /your/target/fullpath/
    
    // you may try with Sudo power 
    
     sudo  chown -R www-data:www-data /your/target/fullpath/
    
    // if you need this ownership change for all sub foders 
    
        chown -R maximilian:maximilian /your/target/fullpath/
    
    
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-07-11
      • 2017-09-15
      • 1970-01-01
      • 2013-07-20
      • 2016-05-17
      • 1970-01-01
      • 2017-06-04
      相关资源
      最近更新 更多