-
Install the Visual C++ Redistributable for Visual Studio 2019.
-
Download PHP for Windows. Prefer 7.4 VC15 x64 Non Thread Safe .zip file
-
Unzip to C:\PHP7.
-
In the C:\PHP7 folder, rename the file php.ini-development to php.ini.
-
Edit php.ini.
-
Change memory_limit from 128M to 1G.
-
Uncomment the line that reads ; extension_dir = "ext"
-
Uncomment the following lines: extension=...
extension=curl extension=fileinfo extension=gd2 extension=mbstring extension=openssl extension=pdo_mysql extension=pdo_sqlite
-
-
Add C:\PHP7 to your Windows system path:
- Open System Control Panel -> Advanced System Settings -> Environment Variables...
- Click on the Path row under 'System variables', and click 'Edit...'
- Click 'New' and add the row C:\PHP7.
-
Check php ok. Open powershell and type in php -v
- Download the Windows Installer for Composer and run it.
- During install, make sure php correct path is set to c:php7\php.exe
- Open new powershell.
- Run the composer command to see a list of composer help.
- Download mysql. Choose archive version 5.7.
- Get mysql-installer-community-5.7.30.0.msi
- Run an installer.
- Choose custom setup.
- Expand MySQL Server and choose MySQL Server 5.7.10.
- Go to Applications > MySQL Workbench 6.3 and choose workbench
- Click on Documentation and select MySQL Documentation
- If any, install any missing requirements. Press execute.
- Set up MySQL root password. Do not create any user at this time.
- Setup mysql server as a windows service.
- Download nodejs. Choose LTS windows installer.
- Run installer, check 'Automatically install neccessary tools'.
- Next until finish.
- Download vscode and install.
- Install neccessary extensions:
- PHP Intellisense.
- Disable VS Code's built-in PHP IntelliSense by setting php.suggest.basic to false
- php cs fixer
- Vetur
- Prettier
- Marp
- PHP Intellisense.
- Place composer's system-wide vendor bin into Windows system path.
- Add '%USERPROFILE%\AppData\Roaming\Composer\vendor\bin'
- In powershell, run > composer global require laravel/installer