How do I know which linux user Wordpress uses for plugin installation

前端 未结 4 1592
执笔经年
执笔经年 2020-12-25 14:59

I\'m trying to setup Wordpress to be able to install plugins via SFTP (SSH) on a Centos 6 VPS.

I\'ve been able to modify wp-config so it uses the right

4条回答
  •  梦谈多话
    2020-12-25 15:45

    The Wordpress user is also the web server user, so this should work:

    ps -ef | grep http

    or

    ps -ef | grep apache

提交回复
热议问题