LNMP下wordpress无法切换主题,只显示当前主题解决方法
/usr/local/php/etc/php.ini

下载下来进行编辑,ctrl+f查找disable_functions,找到我们要使用的scandir函数,删除,然后上传替换PHP.INI文件。

利用putty登陆ssh,执行

/etc/init.d/php-fpm restart

登陆wordpress后台,久违的主题切换已经可用,并且可以编辑。

 

相关文章:

  • 2021-04-10
  • 2022-01-21
  • 2022-02-09
  • 2022-12-23
  • 2022-01-15
  • 2021-10-26
  • 2022-12-23
  • 2021-05-27
猜你喜欢
  • 2022-01-14
  • 2021-07-08
  • 2021-10-01
  • 2022-12-23
  • 2021-04-28
  • 2021-11-07
  • 2021-08-22
相关资源
相似解决方案