WordPress 7.0 Beta 5 :即将进入 RC 阶段,新功能与稳定性全面升级
WordPress 7.0 开发进程迎来关键节点——最后一个 Beta ...
使用军哥的一键lnmp搭建WordPress博客后台不能显示所有主题,并且在编辑主题时显示:噢,没有这个文件。请重新检查文件名,然后再试。这是由于lnmp默认禁用了一些php的函数导致的,只需要修改/usr/local/php/etc/php.ini文件,查找disable_functions下删除scandir,另外记得后面的逗号。
然后重启php-fpm即可,重启命令如下:
service php-fpm restart
另外提供一下在CentOS上Apache、mysql、nginx 的重启命令:
1.重启 apache
service httpd restrat/etc/init.d/httpd stop/etc/init.d/httpd start
2.重启 mysql
service mysql restart/etc/init.d/mysqld stop/etc/init.d/mysqld start
3.重启Nginx
service nginx restart/etc/init.d/nginx stop/etc/init.d/nginx start
评论交流(0)