Does anyone know why the server does not start through the command line in windows 10? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Does anyone know why the server does not start through the command line in windows 10?

5th Feb 2020, 4:34 AM
Mary_d9
Mary_d9 - avatar
12 Answers
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.
5th Feb 2020, 5:55 AM
Ipang
+ 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
5th Feb 2020, 5:13 AM
Mary_d9
Mary_d9 - avatar
+ 2
Ipang Well, I don’t really understand, so I can say something wrong😅
5th Feb 2020, 5:14 AM
Mary_d9
Mary_d9 - avatar
+ 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
5th Feb 2020, 5:38 AM
Mary_d9
Mary_d9 - avatar
+ 2
Ipang How to do it?
5th Feb 2020, 5:50 AM
Mary_d9
Mary_d9 - avatar
+ 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?
5th Feb 2020, 6:06 PM
Mary_d9
Mary_d9 - avatar
+ 1
What server though? be more descriptive?
5th Feb 2020, 4:56 AM
Ipang
+ 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.
5th Feb 2020, 5:42 AM
Ipang
+ 1
Ipang How to watch installer add a service entry in the system service manager or no
5th Feb 2020, 5:53 AM
Mary_d9
Mary_d9 - avatar
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 😁
5th Feb 2020, 5:20 AM
Ipang
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.
5th Feb 2020, 6:00 AM
Ipang
- 1
Privet
5th Feb 2020, 10:43 AM
Faroxidin Usmonov
Faroxidin Usmonov - avatar