41377

Apache 2.4 - remove | delete | uninstall

I have been searching the web for quite some time, but I could not found how to <strong>completely</strong> remove the apache 2.4 .

Using : Windows 7 c:\apache24\

I've tried all commands, but nothing works.

httpd -k shutdown httpd -k stop httpd -k uninstall

keep getting the same result (for each command) :

<OS 5> access is denied. failed to open the 'Apache2.4' service.

notice, that the service still running, meaning that the apache is still working, and I get the "It works!" in the localhost.

Answer1:

You are probably running these commands from terminal without Administrator privileges.

If httpd -k uninstall is not working for whatever reason, you should be able to remove service by sc command: Sc delete, other tutorial here.

Again, ensure that you run these commands as Administrator.

Answer2:

I've had this sort of problem..... The solve: cmd/powershell run as ADMINISTRATOR!!! :D end! I always forget.....

Notice: In powershell need to put .\ for example: .\httpd -k shutdown .\httpd -k stop .\httpd -k uninstall

Result: Removing the 'apache2.4' service The 'Apache2.4' service has been removed successfully.

Recommend

  • Find unique tuples in a relation represented by a BDD
  • Base Internationalization and “Could not find a storyboard named […]”
  • UITableView takes much longer to load when numberOfRows returns a large number
  • PHP in userdir not working
  • auth.provider is not set to 'password' when user signs-in with email and password
  • php is_file always return false
  • EntLib Way to Bind “Null” Value to Parameter
  • is there a way to update filter with async data
  • Center align outputs in ipython notebook
  • How to assign byte[] as a pointer in C#
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Sails.js/waterline: Executing waterline queries in toJSON function of a model?
  • Jenkins: How To Build multiple projects from a TFS repository?
  • How do I fake an specific browser client when using Java's Net library?
  • Obtain ObjectIdHex value from mgo query
  • ILMerge & Keep Assembly Name
  • Javascript + PHP Encryption with pidCrypt
  • ActionScript 2 vs ActionScript 3 performance
  • Weird JavaScript statement, what does it mean?
  • How can I estimate amount of memory left with calling System.gc()?
  • php design question - will a Helper help here?
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Cannot Parse HTML Data Using Android / JSOUP
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • AngularJs get employee from factory
  • Benchmarking RAM performance - UWP and C#
  • How do you join a server to an Active Directory (domain)?
  • Understanding cpu registers
  • embed rChart in Markdown
  • How to get Windows thread pool to call class member function?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Authorize attributes not working in MVC 4
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Conditional In-Line CSS for IE and Others?
  • java string with new operator and a literal