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?
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
Development environment for Magento 2 using Docker
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
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
@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.
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.