V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
fl2d
V2EX  ›  问与答

装 wordpress 的时候,第二步的页面打不开

  •  
  •   fl2d · 2017-04-28 16:48:45 +08:00 · 1594 次点击
    这是一个创建于 2567 天前的主题,其中的信息可能已经有所发展或是发生改变。
    装 wordpress 的时候,在第一步 xxx.xxx/wp-admin/setup-config.php?step=1 这个页面输入完数据库的用户名密码啥的,然后点 submit。
    但是第二步 wp-admin/setup-config.php?step=2 这个页面打不开,提示 http error 500。
    服务器是 archlinux 的。

    请问有朋友遇到过类似问题没?如何解决啊?
    5 条回复    2017-05-01 11:34:13 +08:00
    manihome
        1
    manihome  
       2017-04-28 16:56:12 +08:00   ❤️ 1
    什么版本的 WP ? 服务器 Apache 还是 Nginx? 文件夹权限够不够?数据库用户权限够不够?
    fl2d
        2
    fl2d  
    OP
       2017-04-28 17:41:09 +08:00
    @manihome
    wp 版本 3.7.3,服务器 Apache,文件夹改成 777 了还是打不开 step=2 这一页。。选语言和输入数据库信息那一页可以打开。
    gdtv
        3
    gdtv  
       2017-04-28 17:44:39 +08:00   ❤️ 1
    查看 php 错误日志
    GoBeyond
        4
    GoBeyond  
       2017-04-28 19:19:04 +08:00 via Android   ❤️ 1
    检查一下 mysql 扩展吧
    fl2d
        5
    fl2d  
    OP
       2017-05-01 11:34:13 +08:00
    @gdtv
    @GoBeyond

    多谢!
    错误日志说 PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect()
    在 php.ini 里开开 mysqli.so 就好了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3444 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:59 · PVG 19:59 · LAX 04:59 · JFK 07:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.