• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

WordPress博客后台自动更新后,还一直提示更新的解决方法

主机教程 Liam 1年前 (2019-04-30) 349次浏览 7个评论 扫描二维码
文章目录[隐藏]

说明:刚刚将一个自己长时间不管的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 

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


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:WordPress博客后台自动更新后,还一直提示更新的解决方法
喜欢 (2)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(7)个小伙伴在吐槽
  1. I was curious if you ever thought of changing the structure of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 images. Maybe you could space it out better?
    website hosting2020-08-31 22:19 回复 Mac OS X | Firefox浏览器 62.0
  2. Hello there! Do you use Twitter? I'd like to follow you if that would be okay. I'm undoubtedly enjoying your blog and look forward to new posts.
    black mass2020-08-31 12:11 回复 Linux | Firefox浏览器 2.0.0.2
  3. This is very interesting, You're a very professional blogger. I have joined your rss feed and sit up for searching for extra of your wonderful post. Also, I have shared your web site in my social networks 3gqLYTc cheap flights
    cheap flights2020-08-26 09:05 回复 Linux | Firefox浏览器 59.0
  4. I need to to thank you for this excellent read!! I definitely loved every bit of it. I've got you bookmarked to look at new things you post… 34pIoq5 cheap flights
    cheap flights2020-08-25 08:05 回复 Linux | Chrome 66.0.3359.181
  5. Remarkable! Its actually amazing paragraph, I have got much clear idea on the topic of from this post.
    web hosting company2020-08-14 11:44 回复 Mac OS X | Firefox浏览器 61.0
  6. You could certainly see your skills in the article you write. The sector hopes for even more passionate writers like you who are not afraid to say how they believe. All the time go after your heart.
    content hosting2020-08-14 10:18 回复 Linux | Chrome 52.0.2777.35
  7. Wonderful work! That is the type of info that are supposed to be shared across the web. Shame on the seek engines for not positioning this put up higher! Come on over and talk over with my website . Thank you =)
    web hosting service2020-08-11 07:16 回复 Mac OS X | Chrome 66.0.3359.181