http://www.kancloud.cn/manual/thinkphp/1717
If the case is inconsistent under the Linux environment, the module class cannot be found in the URL using the lowercase module name. For example, under the Linux environment, we access the Http://serverName/index.php/home/index/index in fact the requested controller file is
application/home/controller/indexcontroller.class.php
What do you mean if you're under a Linux environment ?
What "under the Linux environment"?
What is "under the Linux environment"?
Reply content:
http://www.kancloud.cn/manual/thinkphp/1717
If the case is inconsistent under the Linux environment, the module class cannot be found in the URL using the lowercase module name. For example, under the Linux environment, we access the Http://serverName/index.php/home/index/index in fact the requested controller file is
application/home/controller/indexcontroller.class.php
What do you mean if you're under a Linux environment ?
What "under the Linux environment"?
What is "under the Linux environment"?
LinuxEnvironment files are case-sensitive, both indexController.class.php and IndexController.class.php not the same file, and if used http://serverName/index.php/home/index/index for access, and the controller is named IndexController.class.php , there will be a situation where the controller is not found, because in this case the controller file name is parsed indexController.class.php .
By setting URL_CASE_INSENSITIVE to true , you can ThinkPHP automatically convert index to Index , to achieve the effect of normal file recognition.
Linux operating system, to be case-sensitive,
No case sensitivity under Windows operating system
Developed System format Linux operating system, your PHP development environment should follow the Linux operating system