fl2d
V2EX  ›  问与答

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

  •  
  •   fl2d · Apr 28, 2017 · 1991 views
    This topic created in 3324 days ago, the information mentioned may be changed or developed.
    装 wordpress 的时候,在第一步 xxx.xxx/wp-admin/setup-config.php?step=1 这个页面输入完数据库的用户名密码啥的,然后点 submit。
    但是第二步 wp-admin/setup-config.php?step=2 这个页面打不开,提示 http error 500。
    服务器是 archlinux 的。

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

    多谢!
    错误日志说 PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect()
    在 php.ini 里开开 mysqli.so 就好了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:59 · PVG 04:59 · LAX 13:59 · JFK 16:59
    ♥ Do have faith in what you're doing.