搭wordpress时的几个坑。

Job for httpd.service failed because the control process exited with error code. See "systemctl 解决方案:

netstat -antlp | grep 80

了解一下

原来是 nginx 占用了端口

停止即可

killall -9 nginx

 

2.wordpress设置中文;

在wp-config.php中添加define('WPLANG', 'zh_CN');

3.防止网站爆出文件夹:

在 /etc/httpd/conf/httpd.conf

 

 

 

posted @ 2019-03-12 22:02  Umbrellaox  阅读(203)  评论(0编辑  收藏  举报