当前位置:网站首页>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
边栏推荐
- Golang writes the opening chapter of selenium framework
- Database tuning solution
- Concurrency control of performance tuning methodology
- Distance from point to line intersection and included angle of line
- The new content of the text component can be added through the tag_ Config set foreground and background colors
- C language - structural basis
- The statistics of leetcode simple question is the public string that has appeared once
- Implementation technology of recovery
- Unique occurrence times of leetcode simple questions
- What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
猜你喜欢

数据泄露怎么办?'华生·K'7招消灭安全威胁

Three "factions" in the metauniverse

Recovery technology with checkpoints

Metaverse Ape获Negentropy Capital种子轮融资350万美元

The statistics of leetcode simple question is the public string that has appeared once

Oracle triggers

元宇宙中的三大“派系”

2022软件测试工程师涨薪攻略,3年如何达到30K

Solutions for unexplained downtime of MySQL services

700. Search in a Binary Search Tree. Sol
随机推荐
Text组件新增内容通过tag_config设置前景色、背景色
Granularity of blocking of concurrency control
Interview questions for famous enterprises: Coins represent a given value
Leetcode simple question check whether all characters appear the same number of times
[agc009e] eternal average - conclusion, DP
The code generator has deoptimised the styling of xx/typescript. js as it exceeds the max of 500kb
Overview of database recovery
Common interview questions of redis factory
如何开发引入小程序插件
Oracle triggers
Comment développer un plug - in d'applet
Pl/sql basic syntax
What if win11 is missing a DLL file? Win11 system cannot find DLL file repair method
Alternating merging strings of leetcode simple questions
如何快速体验OneOS
boundary IoU 的计算方式
Advantages and disadvantages of the "Chris Richardson microservice series" microservice architecture
2022-07-05: given an array, you want to query the maximum value in any range at any time. If it is only established according to the initial array and has not been modified in the future, the RMQ meth
The new content of the text component can be added through the tag_ Config set foreground and background colors
Binary tree (II) -- code implementation of heap