Webb11 nov. 2024 · WSL2 running on Windows 10 Linux, Apache2, MySQL, PHP-7.4 stack (with Xdebug3 intalled) Debian 10 Symfony 5.4 (although not sure on if relevant to this problem) Steps I've Taken Set up WSL2 according to this Microsoft WSL2 tutorial Set up LAMP stack according to this Digital Ocean tutorial Set up Symfony according to this Symfony tutorial WebbCannot start apache2 in WSL Ask Question Asked 5 years, 11 months ago Modified 5 years, 10 months ago Viewed 4k times 1 I'm getting the following error when I try to start apache2 from WSL: ~ sudo service apache2 start * Starting Apache httpd web server …
How To Install the Apache Web Server on Ubuntu 22.04
Webb26 apr. 2024 · Apache will now start automatically when the server boots again. Step 5 — Setting Up Virtual Hosts (Recommended) When using the Apache web server, you can … Webb1 sep. 2024 · Reboot Windows, then enable WSL2 as the default by entering the following command in a Windows PowerShell or command prompt: wsl --set-default-version 2 … graze lemon and blueberry
How to Start, Stop, or Restart Apache Linuxize
Webb21 sep. 2024 · Inside your Ubuntu instance, add the following modification to /etc/wsl.conf. [boot] systemd=true. Then restart your instance by running wsl --shutdown in PowerShell and relaunching Ubuntu. Note: If you are running Ubuntu Preview, this option is now enabled by default. With everything set up you can now start exploring all of the new ... Webb13 dec. 2024 · Run this command to find all the binaries installed by the apache packages: dpkg-query -L apache2 apache2-bin apache2-data apache2-utils grep -E '/usr/s?bin/' – Dan Dec 13, 2024 at 14:49 sudo systemctl restart apache2.service Works on Ubuntu 16.04 higher as long as systemd is running. reference cyberciti.biz/faq/… – Lazytux Dec 20, … Webb14 nov. 2024 · To start the Apache service, execute the following command: sudo systemctl start apache2 To stop the Apache service, execute the following command: … grazeley car boot