Reloading Apache httpd on Windows - error 'No installed service named "Apache2.2".'
- by user143228
This is a variant of How do I restart Apache on Windows? "Apache -k restart" gives error "No installed service named "Apache2";
I have Apache httpd 2.2.22 on Windows, not running as a service (our product's uber-service starts httpd as a console app).
I'm trying to get httpd to reload its configuration; Apache's Windows docs suggest
httpd -k restart
from any console window. When I do that, I get
PS C:\apache\bin> .\httpd.exe -k restart
[Mon Oct 29 14:06:56 2012] [error] (OS 2)The system cannot find the file specified. : No installed service named "Apache2.2".
How do I convince it Apache's not running as a service?