Jeay's blog

    • Home
    • Archives
    • Tools

在linux下的WordPress每次安装主题或插件都需要FTP用户名密码怎么办?

用FTP工具打开网站根目录,找到wp-config.php 末尾加一段话: 1234if(is_admin()) { add_filter(‘filesystem_method’, create_function(‘$a’,’return “direct”;’ )

2015-01-13
<Prev1…456

Categories

  • front4
  • js3
  • php3
  • server22
  • tools12
  • wordpress2
  • 前端2

Tags

  • centos10
  • 运维10
  • php7
  • apache6
  • 前端5
  • linux5
  • 包管理4
  • mysql4
  • ubuntu4
  • javascript3
  • 服务器安全3
  • 科学上网3
  • 服务器3
  • sass2
  • vscode2
  • composer2
  • github2
  • blog2
  • lamp2
  • shadowsocks2

Weibo

Steam

Links

  • 生成随机字符串
  • 安装nodejs
  • LNMP环境搭建
  • 密钥登录配置

Talents come from diligence,
and knowledge is gained by accumulation.

Powered by hexo and Theme by Jacman © 2026 Jeay 备案号:豫ICP备16039722号