背景:

   访问phpstudy本地网站直接报错 “No input file specified.”

报错No input file specified.

    网上百度了一些,解决方法如下:

    一)、IIS Noinput file specified

     1)、 改PHP.ini中的doc_root行,打开ini文件注释掉此行,然后重启IIS;

     2)、修改 php.ini 配置文件
            将   ;cgi.force_redirect = 1  修改成   cgi.force_redirect = 0

    二)、apacheNo input file specified

             可审查是否.htaccess代码格式错误

解决:

 但以上方法都不能解决我的问题,然后我更改了phpstudy版本,

报错No input file specified.

访问恢复正常。

报错No input file specified.

相关文章:

  • 2021-06-20
  • 2021-06-05
  • 2021-10-07
  • 2021-07-07
  • 2021-05-24
  • 2021-05-25
  • 2022-01-18
  • 2021-08-11
猜你喜欢
  • 2021-10-24
  • 2021-11-29
  • 2021-12-08
  • 2021-10-10
  • 2021-08-06
  • 2021-06-25
相关资源
相似解决方案