wenqiang
V2EX  ›  站长

如何关闭phpinfo.php?

  •  
  •   wenqiang · Jan 29, 2013 · 4445 views
    This topic created in 5031 days ago, the information mentioned may be changed or developed.
    网站根目录也没有phpinfo.php这个文件,奇怪怎么可以访问呢?
    不想让别人看。怎么设置让它屏蔽呢?
    2 replies  •  1970-01-01 08:00:00 +08:00
    mechille
    mechille
    Jan 29, 2013
    1
    .htaccess里边给它跳转走
    Js
    Js
    Jan 29, 2013
    2
    本地缓存强刷一下?

    用了apc之类的opcode缓存器就重启下apache(mod_php)或者fastcgi进程
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4263 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 02:14 · PVG 10:14 · LAX 18:14 · JFK 21:14
    ♥ Do have faith in what you're doing.