Laragon - Apache doesn't start - Now with solution.

Discuss server installationa nd configuration issues here

Moderators: gesf, Michalio

Post Reply
User avatar
NorseMan
php-forum Active User
php-forum Active User
Posts: 49
Joined: Mon Jul 04, 2022 5:25 pm
Location: Near Oslo (Norway)

Woke up this morning and met this problem (as described on screen dump below). Everything was working last night before going to bed, but win11 had an update while I was sleeping and restarted.
So far i have found out there could be a conflict because of User Account Control (UAC) and a problem due to permissions: Apache doesn't have permission to start or run. Does anyone know how to fix this? Reinstall doesn't fix it because of the UAC problem.
2022-07-13 (2).png
2022-07-13 (2).png (37.01 KiB) Viewed 391 times
________________
Leon (Norway)
________________

-------
(some of)My configuration is:
Laragon full 5.0 web server with PHP and MySQL installation
(Apache 2.4.47 / PHP 7.4.19 / MySQL 5.7.33)
-------
My toolbox and workbench:
Navicat for MySQL 16.0.13
FileZilla 3.57.1
Among others
-------
Development toolbox:
Adobe DreamWeaver 21.2
Adobe Photoshop 23.1.0
Adobe Illustrator 26.0.2
Adobe InDesign 17.0.1
Adobe XD
Visual Studio Code 1.63.2 (with some extensions enabled)
User avatar
NorseMan
php-forum Active User
php-forum Active User
Posts: 49
Joined: Mon Jul 04, 2022 5:25 pm
Location: Near Oslo (Norway)

No matter what I did, Apache would not boot. I finally found the solution, and the error was not corrected if I did a single reinstall. The solution was, and I say, YOU DO THIS AT YOUR OWN RISK! If you are not an experienced user, then stay away as it involves deleting registry keys.

1- Quit Laragon completely and uninstall Laragon.
2- Delete all files and folders that have to do with Laragon and Apache.
Restart Windows.
3- Quit all programs running in the background, start up "REGEDIT "and scan the entire registry for Laragon first and second Apache. Remove all instances. Restart Windows. Perform step 3 again, including restarting Windows.
4- Reinstall Laragon, restart and set everything up again.

When I had done this twice it loosened up so I could start Laragon without any problems. Good look with my problem solver tut 😊

REMEMBER !!! You do this at your own risk!
(If you dont know what regedit is or how to enable it? Stay away
________________
Leon (Norway)
________________

-------
(some of)My configuration is:
Laragon full 5.0 web server with PHP and MySQL installation
(Apache 2.4.47 / PHP 7.4.19 / MySQL 5.7.33)
-------
My toolbox and workbench:
Navicat for MySQL 16.0.13
FileZilla 3.57.1
Among others
-------
Development toolbox:
Adobe DreamWeaver 21.2
Adobe Photoshop 23.1.0
Adobe Illustrator 26.0.2
Adobe InDesign 17.0.1
Adobe XD
Visual Studio Code 1.63.2 (with some extensions enabled)
Post Reply