From the course: Installing Apache, MySQL, and PHP

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Run Apache as a Windows service

Run Apache as a Windows service

From the course: Installing Apache, MySQL, and PHP

Start my 1-month free trial

Run Apache as a Windows service

- [Instructor] I previously described how to install Apache on Windows, as an individual component by extracting the Apache files to the local hard disk, and then running the server command from the command line, but you can also install Apache as a Windows service. This is a bit more convenient because it can run in the background, and you don't need to keep a command window open to keep it running. I'm back in PowerShell, and again you could use the command prompt instead, and you want to switch to the directory apache\bin. In PowerShell I'll start with .\ and then httpd, and then I'll add -k install, and after just a second or two, I see the message that my service has been successfully installed. Next, go to the control panel. On Windows 10, you can start at the start menu, and start typing control panel, and then press enter to open up that environment, then in the search box, start typing services, and go to…

Contents