Run CMD as Administrator
net stop was /y
Restart apache with XAMPP
Open CMD as administrator and run
net stop was /y
Restart Apache server
net stop was /y
//This Error is somthing like this
Problem detected!
9:52:52 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
9:52:52 PM [Apache] Apache WILL NOT start without the configured ports free!
9:52:52 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
9:52:52 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
//How to fix this Error
//1:in side Apache choose (config) then click on Apache(httpd.conf) and search for number(80) change 80 to 8080 or 8081 then save the file
//2:in side Apache again choose (config) then click on Apache(httpd.ssl.conf) and search for number (443) change the all number 443 to 4433
//3:now stop Apache and mysql and restart it again
//4:now search in your browser like this, http://localhost:8080/laravelEcommerce
//now you can see everything in htdocs folder is working