How to customize the routing of php suffixes in ThinkPHP V5.1.18

in order for the links that have been sent by regular users to open properly, we have configured the following route, which indicates that
Route::rule (" my.php ", "my/view/info") cannot be found.

the following ones without .php can
Route::rule (" my ", "my/view/info");

Jul.29,2021

ext method

https://www.kancloud.cn/manua.


consider rewrite of nginx


ext('php')
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb21e5-23ab.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb21e5-23ab.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?