Home >PHP Framework >Laravel >Let's talk about how to install and use Laravel on Windows
Running Laravel on the windows platform requires installing the environment first, including PHP, Composer and some extensions. Below are step-by-step installation instructions to help you get started using Laravel on Windows.
C:\php
. php.ini-development
file in the PHP directory, copy it and rename it to php.ini
. Remove the comment character (;) before the following two lines in the php.ini
file:
extension_dir = "ext" extension=php_mbstring.dll
and
php.ini are added to the system environment variables. Open "Control Panel" > "System" > "Advanced System Settings" > "Environment Variables", find "Path" in the system variable list, and add
C:\php (here you need to follow Modify according to your own situation).
, if the PHP version information can be output normally, the PHP installation is successful.
. If the Composer version information can be output normally, the Composer installation is successful.
, and wait for the installation to complete.
, if the Laravel version information can be output normally, Laravel is installed successfully.
(where myproject is the name of the created project), and wait for the project download and installation to complete.
(where myproject is the name of the created project).
to start Laravel’s built-in web server.
The above is the detailed content of Let's talk about how to install and use Laravel on Windows. For more information, please follow other related articles on the PHP Chinese website!