解决WordPress在服务器lnmp一键安装包环境下安装出现连接数据库一直重定向到数据库页面问题

11天前   阅读:80   分类:后端    标签: WordPress

WordPress在服务器lnmp一键安装包环境下,安装一直出现连接数据库问题

Welcome to WordPress. Before getting started, you will need to know the following items

1. Database name

2. Database username

3. Database password

4. Database host

5. Table prefix (if you want to run more than one WordPress in a single database)

This information is being used to create a wp-config.php file. lf for any reason this automatic file creation

does not work, do not worry. All this does is fill in the database information to a configuration file. You

may also simply open wp-config-sample.php in a text editor, fill in your information, and save it as wp.

config.php. Need more help? Read the support article on wp-config.php.

In all likelihood, these items were supplied to you by your web host, lf you do not have this information, then you

will need to contact them before you can continue. lf you are ready..

出现这个问题是因为服务器上的文件夹没有写入的权限问题,结局方法只需设置下目录权限即可。

chown -R www:ftp /home/wwwroot/myweb

myweb为网站目录

【腾讯云】2核2G云服务器新老同享 99元/年,续费同价,云服务器3年机/5年机限时抢购,低至 2.5折

‘简忆博客’微信公众号 扫码关注‘简忆博客’微信公众号,获取最新文章动态
转载:请说明文章出处“来源简忆博客”。http://www.tpxhm.com/adetail/1096.html

×
觉得文章有用就打赏一下文章作者
微信扫一扫打赏 微信扫一扫打赏
支付宝扫一扫打赏 支付宝扫一扫打赏

文章评论(0)

登录
简忆博客壁纸一
简忆博客壁纸二
简忆博客壁纸三
简忆博客壁纸四
简忆博客壁纸五
简忆博客壁纸六
简忆博客壁纸七
简忆博客壁纸八
头像

简忆博客
勤于学习,乐于分享

置顶推荐

打赏本站

如果你觉得本站很棒,可以通过扫码支付打赏哦!
微信扫码:你说多少就多少~
微信扫码
支付宝扫码:你说多少就多少~
支付宝扫码
×