Www. kancloud. cnmanualthinkphp1717 in Linux, if the case is different, the module class cannot be found using the lower-case Module name in the URL. For example, in a Linux environment, we access serverNameindex. phphome... http://www.kancloud.cn/manual/thinkphp/1717
In Linux, if the case is different, the module class cannot be found using the lower-case Module name in the URL. For example, in a Linux environment, the Controller file actually requested by http: // serverName/index. php/home/index is
Application/home/Controller/indexController. class. php
In LinuxWhat does it mean?
What is "under Linux "?
What is "under Linux "?
Reply content:
Http://www.kancloud.cn/manual/thinkphp/1717
In Linux, if the case is different, the module class cannot be found using the lower-case Module name in the URL. For example, in a Linux environment, the Controller file actually requested by http: // serverName/index. php/home/index is
Application/home/Controller/indexController. class. php
In LinuxWhat does it mean?
What is "under Linux "?
What is "under Linux "?
Linux
Files in the environment are case sensitive.indexController.class.php
AndIndexController.class.php
Not the same file.http://serverName/index.php/home/index/index
And the controller is namedIndexController.class.php
The controller cannot be found, because the Controller file name is resolvedindexController.class.php
.
SetURL_CASE_INSENSITIVE
Istrue
, EnablingThinkPHP
Automatic conversionindex
IsIndex
To identify files normally.
In Linux, it must be case sensitive,
In windows, case-insensitive
Developed in the linux operating system format, your PHP development environment should follow