P粉5877801032023-08-27 11:05:26
Laravel uses the DotEnv library to configure different environments.
You can follow the Laravel documentation to generate .env
files for each environment (local and development server).
P粉9868609502023-08-27 10:45:07
On a real server, you need to connect to the database server that contains the database used by the application,
Therefore the .env
configuration related to the database needs to be changed to the actual database server
1 2 3 4 5 |
|
What you need to read about Laravel Project Deployment