SilECust Web Shop
This project is maintained by cooldude77
WSL may be faster than oracle virtual box in windows environment
Enable WSL first
Open a powershell terminal and type
wsl --install
First download using powershell
curl (("https://cloud-images.ubuntu.com", "releases/22.04/release-20231130" "ubuntu-22.04-server-cloudimg-amd64-root.tar.xz") -join "/") --output ubuntu-22.04-wsl-root-tar.xz
Then install
wsl --import <your distro name> "<Your windows folder path>" ubuntu-22.04-wsl-root-tar.xz
example:
wsl --import webshop-staging "c:\wsl" ubuntu-22.04-wsl-root-tar.xz
At the powershell , type
wsl -d <your distro name>
At the Linux prompt , type or copy-paste
useradd -m symfony -s /bin/bash
passwd symfony
usermod -a -G sudo symfony
su - symfony
Your installation is ready for further configuration
Follow these steps Common configuration
sudo apt-get install php-xdebug
sudo cat >> /etc/php/8.3/apache2/php.ini
[XDebug]
zend_extension=xdebug
xdebug.mode=debug
^D
sudo service apache2 restart