cancel
Showing results for 
Search instead for 
Did you mean: 

Local web server for Developemt

Local web server for Developemt

Hi,

 

I'd like to know the best setup for local development on Magento 2.2. Currently, I am using XAMPP to work, but Magento is working very slow and make it impossible to work with.

 

What is the best web server I can install and setup for magento?

Is there a better way to setup local development?

5 REPLIES 5

Re: Local web server for Developemt

Hi @robertbits 

 

You should use Vagrant, docker or Virtual box setup to use Magento2. Magento 2 on XAMPP is extremely slow.

 

Please visit following links

Optimal Development Environment

Local development

Development environment for Magento 2 using Docker

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Local web server for Developemt

Hello @robertbits 

 

I am using same Ubuntu + Xampp and it is working perfectly fine at my end. It might be your system configuration issue  but still, If you are facing the issue you can try Docker or Virtual host as a server to install Magento 2.2.

 

Please refer below:

https://devdocs.magento.com/guides/v2.3/cloud/docker/docker-config.html

https://devdocs.magento.com/guides/v2.3/install-gde/install-quick-ref.html

Manish Mittal
https://www.manishmittal.com/

Re: Local web server for Developemt

@Manish Mittal @Mukesh Tiwari 

thanks both for your reply.

 

I am going to try to work with docker and see what the result would be.

 

thanks again for your help Smiley Happy

Re: Local web server for Developemt

@robertbits if you have never used Vagrant or Docker before I highly recommend you go with Vagrant + Virtualbox. Very quick and simple to get up and running on your laptop and gives you solution that is far closer to a production system than XAMP.

Any vagrant or indeed virtualbox questions if you choose this path just tag me in this thread and ill be happy to answer them.

--
Problem solved? Click Accept as Solution!

Re: Local web server for Developemt

Hi @robertbits 

This is also very important to make sure that your caches are enabled. At least configuration cache. Working with magento without any cache enabled is super slow even on high performance computers.

 

Also, it's quite necessary to have SSD disk to feel comfortable with development.

---
Problem solved? Click Kudos & Accept as Solution!