Using the Vagrant virtual machine
We recommend using our virtual machine to quickly get a testing environment in place.
This is what you need to run this project:
If you’re using Windows, we recommend you to download Git bash and execute all commands under this shell.
What is installed
- Debian 10 Buster
- Apache 2.4
- Multiple PHP versions (7.1, 7.2, 7.3, 7.4)
- MariaDB 10
First, you must clone the repository https://github.com/PrestaShop/vagrant.
Second, execute the script
run.bat if you’re under Windows) and follow instructions.
Most of the time, there is a prompt asking for a network interface, remember it’s the communication between the virtual machine and the network card.
The first installation will take a while, because it needs to download the vagrant box, installs all needed packages and configures the system to make it compatible with PrestaShop.
Then, visit http://192.168.42.42/prestashop.
phpMyAdmin is also available at http://192.168.42.42/phpmyadmin.
Available PHP versions
phpMyAdmin is available at http://192.168.42.42/phpmyadmin.
- MySQL Host:
- Database name:
You can login into the virtual machine with
If something went wrong during the installation, the error is displayed explaining which command is failing.
Invalid branch name:
Invalid PHP version: