litarussell
V2EX  ›  问与答

Windows 下 nginx 反向代理 PHP 的问题

  •  
  •   litarussell · Feb 5, 2018 · 1379 views
    This topic created in 3049 days ago, the information mentioned may be changed or developed.

    在没有设置 php.ini 中的 extension_dir 属性时,一切好使,启动 php_cgi 和 nginx 之后能正常访问 php 脚本。但是我设置了 php 扩展的路径,并启用 mysql gd2 等扩展之后,就提示访问不了。扩展路径没问题,在 php 命令行中使用 php 自带的服务器是好使的。这是为什么呢?

    1 replies    2018-02-05 19:06:16 +08:00
    litarussell
        1
    litarussell  
    OP
       Feb 5, 2018
    已经解决了,,不能在 cgi 模式下使用 xdebug 扩展。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2858 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:31 · PVG 21:31 · LAX 06:31 · JFK 09:31
    ♥ Do have faith in what you're doing.