Tutorials
How to Install Composer, PHP, and MySQL on Windows 10
Last modified: June 11, 2021The easiest way to install PHP, MySQL, PHPMyAdmin is to install XAMPP. Go to https://www.apachefriends.org/index.html and download XAMPP for Windows. Once the file is downloaded, double click on it to install.
Select program server, programming languages, and program languages. In our case, we are going to select 'Apache', 'MySQL' for program server, 'PHP' for programming languages, and 'phpMyAdmin' for program lanagues. We need Apache to run phpMyAdmin, MySQL for database and phpMyAdmin for managing our databases.
Select a path to install XAMPP.
Start Apache and MySQL services. To manage the database, you can click on Admin button of MySQL
Download Composer from https://getcomposer.org/. Composer is Dependency Manager for PHP.
If the PHP was install successfully, composer installer will automatically pick up the PHP install path.
To test if composer works or not. Simply open 'command prompt' and type Composer and press enter. If you see similar result as below, it mean it works.