+ 1
Does anyone know why the server does not start through the command line in windows 10?
12 Réponses
0
Mary_d9
Just right click on the installer, and choose a menu like "Run as admin" or something like that. This way the installer will be running under administrative account with more access then regular users.
But before you do this, consider to uninstall the Apache that is already installed, just to be safe.
NOTE: You may be prompted for password for the administrative account.
+ 2
Ipang I need the local host to start working, I indicate the path on the command line to the program with the server, and it says that such a file does not exist
+ 2
Ipang Well, I don’t really understand, so I can say something wrong😅
+ 2
Ipang I tried to install the Apache program, I watched the video how to do it, the guy from the video somehow began to connect through the command line, I tried to do everything the same way, but nothing works here
+ 2
Ipang How to do it?
+ 2
Ipang You do not know why forbidden is displayed on the local host? In general, maybe you know some articles, sites where this is all explained in detail how it all works and interacts with each other?
+ 1
What server though? be more descriptive?
+ 1
Mary_d9
Did you run the installer using an adminstrative account? some applications (like web server) needs administrative privileges because it needs to change some system settings. Sometimes installation completes but the service is not running because the installer failed to add a service entry in the system service manager.
+ 1
Ipang How to watch installer add a service entry in the system service manager or no
0
Mary_d9
Are you referring to one of the *AMP packages? I'm not sure what localhost you mean here. Any web server can act as localhost.
Anyways, how did you start it from command line? you see, some services are independent, others may depend on Windows service host. How a service starts may differ one another.
Although this one may sound silly, I'd still recommend you to check for path validity. Especially after having that "file does not exist" message 😁
0
Some installers notify this on the screen, it may show a message like "installing service" or something like that. But it is not mandatory, installers may show a message or not at all.
A real proof is the fact that the service can run smoothly after installation is complete. If not, then there's a problem.
- 1
Privet