Magento is a powerful ecommence platform that powers a lot of ecommerce sites. To intall this platform in localhost is a bit challenging.
The following are steps to install magento 2
Requirements
- Apache 2.4 or 2.2
- Mysql 5.7
- Php 5.6 and above
The above are found when you install xammp localhost(xampp-win32-7.0.23-0-VC14-installer.exe).
To download it, https://www.apachefriends.org/de/download.html
- Install xampp in your computer
- Download magento 2
- Now go to xampp/htdocs and create a folder called magento
- Extract magento 2 in this folde
- Open xampp control panel\
- Click apache config and open php.ini
- Now search for extension=php_intl.dlland extension=php_xsl.dll, and remove the semicolon “;” at the beginning from both.
- Start apache and mysql services after saving the changes in the php.ini
- Go to phpmyadmin (localhost/phpmyadmin)and create a database
- Open your browser and enter this on a new tab localhost/magento. Click Agree and Setup magento
- Localhost will perform a Readiness test after the successful click next.
- Now the database configuration pagewill appear. Here, enter database details and database name which will be the same as the one you created in phpMyAdmin (magento2). After completing this step, click on Next
- Now complete the web configuration, your store, and admin panel address. After web configuration, click on
- Now customize your store and click on Next.
- Create an Admin accountand click on
- All ready! Just hit the Install Now
- Open your store by exploring localhost/magento
- Open your admin panel by exploringlocalhost/admin and the following screen will appear:
- Enjoy magento.