thinkphp6.0 turn on debug mode and Driver [Think] not supported

thinkphp6.0 turn debug mode

 

  1. First make sure that they are carried out by downloading composer, then modify the system directory under .example.env as .env file
  2. Modify config-> app.php the 'show_error_msg' => true

 


 

Use template error Driver [Think] not supported.

 

Solution:

Use composer under the project directory, enter the following command:

composer require topthink/think-view

 

Guess you like

Origin www.cnblogs.com/GetcharZp/p/11845949.html