How to setup a fully ready Prestashop developing enviroment?
-
Binshops team recommendation set to help Prestashop developers setup a handy enviroment fast and easy.
- This guide gets updated mostly based on developers' experience.
- Apache
- MySQL
- Must create new user. root user can not be accessed remotely(in phpmyadmin)
- php7.4
- MySQL GUI (Choose one)
- phpMyAdmin
- Download zip
- Extract in
/var/www/html/
- Grant all access to
/phpmyadmin/
with this terminal commandsudo chmod -R 777 /phpmyadmin/
- MySQL Workbench
- phpMyAdmin
- IDE (Choose one)
- Debugger(Choose one)
- Xdebug for Visual Studio Code
sudo apt install php-xdebug
sudo gedit /etc/php/7.4/mods-available/xdebug.ini
- add these lines and save:
zend_extension=/usr/lib/php/20190902/xdebug.so
xdebug.mode=debug
xdebug.start_with_request=yes
- install php debug extension in vscode
sudo service apache2 restart
- Xdebug for PHP Storm
- Xdebug for Visual Studio Code
- PhpPsInfo PrestaShop system requirements checker
- Git
- GitKraken