Vagrant for Pimcore 5
- PHP 7.2
- MySQL
- Apache
- Redis
Setup Vagrant Box
vagrant up
Create a new project
vagrant ssh
cd /var/www
COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/skeleton:dev-master pimcore
cd pimcore
Copy the .provision/config/installer.yml
file to app/config/installer.yml
and run the installer
./vendor/bin/pimcore-install
Add project to hosts
sudo vim /etc/hosts
192.168.10.10 pimcore.local
- Host: 192.168.10.10
- Port: 3306
- Username: pimcore
- Password: pimcore
- Databse: pimcore
Copy the .provision/config/local/session.yml
file to pimcore/app/config/local/session.yml
sudo vim /etc/php/7.2/apache2/php.ini
memory_limit = -1
sudo service apache2 restart
- Frontend: pimcore.local
- Backend: pimcore.local/admin