配置https 的时候 nginx +php 遇到关于No input file specified.
来源:互联网 发布:联通大数据平台 编辑:程序博客网 时间:2024/06/06 03:31
网上的各种解决方法无效,直到看到 https://m.aliyun.com/yunqi/articles/34240
No input file specified. 相当于404 就是说没有找到php路径
不是配置好路径了吗,
后来突然明白, location / {这只是静态资源的目录, 而 location ~ \.php 才是php脚本目录
其实英文好点不至于没搞明白~~~
location ~ \.php(.*)$ {
fastcgi_pass 127.0.0.1:9000;
index index.html index.htm index.php;
root G:/WWW/xxx; #站点目录
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
忘记在fastcgi配置上加 root目录 以致运行PHP就提示 No input file specified. 但是静态文件却没问题;
问题解决 这是其中一种问题,百度问题的时候 关键还是要看问题源头,不要着急找答案
- 配置https 的时候 nginx +php 遇到关于No input file specified.
- 解决NGINX PHP "No input file specified"
- nginx运行php"No input file specified"错误的解决方法
- 配置Nginx出现No input file specified.
- 关于php的( No input file specified. )问题
- nginx No input file specified.
- windows下配置NGINX+PHP+MYSQL (No input file specified 问题)
- NGINX PHP FastCGI “No input file specified”错误
- nginx访问php页面出现No input file specified.
- nginx php No input file specified 如何处理?
- 解决NGINX PHP "No input file specified"
- Windows下 NGINX PHP 以及 "No input file specified"
- Windows下 NGINX PHP 以及 "No input file specified"
- Centos 6.5 Nginx,php 提示 No input file specified
- nginx+php出现No input file specified解决办法
- 备忘:nginx访问不存在的php的页面提示No input file specified.
- 解决nginx服务器访问不存在的php页面显示No input file specified.问题
- Nginx执行php,显示“No input file specified. ”的处理方法
- UIApplication详解
- iOS进阶道路 --SQLite使用
- 简单shell学习(1)
- Unity3D 07-日志、文本打印
- Python 数据类型--字典(dict)基本操作
- 配置https 的时候 nginx +php 遇到关于No input file specified.
- 关于加密
- Java并发容器之LinkedBlockingQueue
- powershell: 判断PSObject中是否有指定property的靠谱方法
- CRC-32校验和CRC-32校验代码
- Eclipse自动生成作者、日期注释等功能设置
- org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in
- Java中的参数传递
- 面试经验总结