惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

Rat's Blog - wordpress

零基础的萌新搭建属于自己的Typecho/WordPress等博客教程 - Rat's Blog 小内存VPS一键安装Typecho/WordPress/Zblog/Kodexplorer及整站备份等 - Rat's Blog Caddy环境下一些Web应用程序的配置参考 - Rat's Blog Caddy环境下WordPress博客伪静态设置 - Rat's Blog VPS服务器如何优化/加快网站的访问速度 - Rat's Blog 使用VPS采集1024贴图区,并自动发布到WordPress博客 - Rat's Blog SC private letter: 一个基于serverchan微信推送服务的私信发送站 - Rat's Blog 好看的WordPress主题:Kratos 2.5.8主题修改美化版,支持PJAX - Rat's Blog 给WordPress、Emlog等博客网站添加下雪特效,附带Typecho下雪插件 - Rat's Blog
WordPress博客后台自动更新后,还一直提示更新的解决方法 - Rat's Blog
博主: Rat's · 2017-12-18 · via Rat's Blog - wordpress
  •  发布时间:
  •  8679 次浏览
  •   2 条评论
  •  398 字数
  • 分类: 建站知识
  1.  首页
  2. 正文  
  3. 分享到:

说明:刚刚将一个自己长时间不管的wordpress博客自动更新到了4.9版本后,发现后台还是一直提示更新,仔细看是因为语言翻译的问题,去翻译文件目录那里看了下,文件是替换成功了,猜想估计是权限问题,读取不了,就找了下方法,发现和之前提到的安装h5ai网盘后读取不出文件的问题是一样的,就是scandir函数被禁用了,这里说下方法。

方法

只需要修改php.ini文件就可以了,以军哥lnmp为例,文件位置/usr/local/php/etc

disable_functions=passthru,exec,system,chroot,scandir,...

删掉scandir,字样,再重启php即可。

/etc/init.d/php-fpm restart

这时候刷新后台,更新提示就消失了。


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/451/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。