WordPress“有新的翻译可用”解决办法

LNMP的服务器装了WordPress以后,默认是英文的,改成中文显示就一直提示“有新的翻译可用”。查了下,在一个博客找到解决办法,也总结过来:
打开php.ini 搜索 disable_functions 然后找到 scandir 删除保存,重启PHP
然后再到仪表盘更新一下翻译,就可以了。
注:LNMP配置的环境php.ini位于

/usr/local/php/etc/php.ini<pre class="theme:xcode wrap:true lang:default decode:true">disable_functions = passthruexecsystemputenvchrootchgrpchownshell_execpopenproc_openpcntl_execini_alterini_restoredlopenlogsyslogreadlinksymlinkpopepassthrupcntl_alarmpcntl_forkpcntl_waitpidpcntl_waitpcntl_wifexitedpcntl_wifstoppedpcntl_wifsignaledpcntl_wifcontinuedpcntl_wexitstatuspcntl_wtermsigpcntl_wstopsigpcntl_signalpcntl_signal_dispatchpcntl_get_last_errorpcntl_strerrorpcntl_sigprocmaskpcntl_sigwaitinfopcntl_sigtimedwaitpcntl_execpcntl_getprioritypcntl_setpriorityimap_openapache_setenv

; This directive allows you to disable certain classes for security reasons.
; It receives a comma-delimited list of class names.
; http://php.net/disable-classes

WordPress“有新的翻译可用”解决办法

(1)
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,请发送邮件至 ZLME@ZLME.COM 举报,一经查实,立刻删除。

相关推荐