Due to new business requirements, the company's new framework has been changed from lumen to laravel, but the problem of the php version cannot be solved by upgrading. It can only switch the integrated environment and upgrade from php7.3.4 to php7.4.3
1. Uninstall phpstudy, migrate the project to a new directory
2. Download and install the pagoda panel
Pagoda Windows Panel - Pagoda Panel (bt.cn)
After the installation is complete, follow the prompt link to enter, save
3. The software store installation environment depends
4. Add local site and domain name to the website
In settings, composer install and pseudo-static settings
Visit the website, the error is as follows
Warning: file_exists(): open_basedir restriction in effect. File(D:\wwwroot\xxx\public/../storage/framework/maintenance.php) is not within the allowed path(s): (d:/wwwroot/xxx/public/;C:/Windows/Temp/;C:/Temp/;D:/app/BtSoft/temp/session/) in D:\wwwroot\xxx\public\index.php on line 19
Enter the pagoda, find php management, open the configuration file, search for open_basedir
Remove; add website root path
Successfully entered the homepage of the website