当前位置:网站首页>Solve the problem of "no input file specified" when ThinkPHP starts
Solve the problem of "no input file specified" when ThinkPHP starts
2022-07-05 22:27:00 【Mu Yan duck】
solve thinkphp Startup time “No input file specified” The problem of
I'm learning thinkphp when , We can access the default index, But the new method cannot be accessed .
Inquire relevant information on the Internet and get , The use of PHP5.6 yes fast_cgi Pattern , And in some cases , Can't correctly identify path_info The error caused .
therefore , We need to find .htaccess file , Changed to the following
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
You can visit it normally
边栏推荐
- a-tree 树的全部展开和收起
- The simple problem of leetcode is to split a string into several groups of length K
- 记录几个常见问题(202207)
- Summary of concurrency control
- Win11运行cmd提示“请求的操作需要提升”的解决方法
- Concurrency control of performance tuning methodology
- How to create a thread
- Interprocess communication in the "Chris Richardson microservice series" microservice architecture
- 如何开发引入小程序插件
- Sentinel production environment practice (I)
猜你喜欢
Qtquick3d real time reflection
IIC bus realizes client device
Common interview questions of redis factory
Calculation method of boundary IOU
Talking about MySQL index
Nacos 的安装与服务的注册
Server optimization of performance tuning methodology
Golang writes the opening chapter of selenium framework
What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
Kubernetes Administrator certification (CKA) exam notes (IV)
随机推荐
BFC block level formatting context
Blocking protocol for concurrency control
Index optimization of performance tuning methodology
Three "factions" in the metauniverse
Postman core function analysis - parameterization and test report
Leetcode simple question ring and rod
ESP32 hosted
U盘的文件无法删除文件怎么办?Win11无法删除U盘文件解决教程
数据泄露怎么办?'华生·K'7招消灭安全威胁
二叉树(二)——堆的代码实现
Nacos 的安装与服务的注册
Server optimization of performance tuning methodology
1.3 years of work experience, double non naked resignation agency face-to-face experience [already employed]
记录几个常见问题(202207)
What if win11 is missing a DLL file? Win11 system cannot find DLL file repair method
Draw a red lantern with MATLAB
Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法
Interview questions for famous enterprises: Coins represent a given value
科技云报道荣膺全球云计算大会“云鼎奖”2013-2022十周年特别贡献奖
Character conversion PTA