Instalar apache en windows
Puede pasarle argumentos adicionales a config. Copyright The Apache Software Foundation. Compilar e Instalar Idiomas disponibles: de en es fr ja ko tr. Dentro del proceso hijo, cada solicitud es manejada por un hilo separado. Las directivas que aceptan nombres de archivos como argumentos deben usar nombres de archivos en formato de Windows en lugar de Unix.
Si Apache2. Si no ocurre nada o si obtiene un error, explore el archivo error. Estos servicios conflictivos pueden incluir otros servidores WWW, algunas implementaciones de firewall e incluso algunas aplicaciones como Skype, las cuales usan el puerto 80 para tratar de evitar problemas de firewall.
El acceso a archivos en la red puede ser especificado usando dos mecanismos provistos por Windows:. Solo use rutas UNC para recursos de red en httpd. Ahora hay que hacer algunas configuraciones para que apache escuche en el puerto 80 y pueda atender las peticiones que le lleguen. Porque Apache es un servidor http y el puerto por defecto utilizado por el protocolo http es el El fichero httpd.
Como puedes comprobar hay muchas cosas definidas dentro de este fichero. For example, if you try to start Apache by using the Services applet in the Windows Control Panel, you may get the following message:. Could not start the Apache2. You will get this generic error if there is any problem with starting the Apache service.
In order to see what is really causing the problem you should follow the instructions for Running Apache for Windows from the Command Prompt. If you are having problems with the service, it is suggested you follow the instructions below to try starting httpd.
Running Apache as a service is usually the recommended way to use it, but it is sometimes easier to work from the command line, especially during initial configuration and testing. This will open a console window and start Apache inside it. If you don't have Apache installed as a service, the window will remain visible until you stop Apache by pressing Control-C in the console window where Apache is running in. The server will exit in a few seconds. However, if you do have Apache installed as a service, the shortcut starts the service.
If the Apache service is running already, the shortcut doesn't do anything. If Apache is running as a service, you can tell it to stop by opening another console window and entering:. Running as a service should be preferred over running in a console window because this lets Apache end any current operations and clean up gracefully.
But if the server is running in a console window, you can only stop it by pressing Control-C in the same window. You can also tell Apache to restart. This forces it to reread the configuration file. Any operations in progress are allowed to complete without interruption. To restart Apache, either press Control-Break in the console window you used for starting Apache, or enter. Change to the folder to which you installed Apache, type the command httpd. Then change to the logs folder, and review the error.
When working with Apache it is important to know how it will find the configuration file. You can specify a configuration file on the command line in two ways:. In both of these cases, the proper ServerRoot should be set in the configuration file. This built-in path is relative to the installation directory. Apache will then try to determine its ServerRoot by trying the following, in this order:. If you did not do a binary install, Apache will in some scenarios complain about the missing registry key.
This warning can be ignored if the server was otherwise able to find its configuration file. The value of this key is the ServerRoot directory which contains the conf subdirectory.
When Apache starts it reads the httpd. If this file contains a ServerRoot directive which contains a different directory from the one obtained from the registry key above, Apache will forget the registry key and use the directory from the configuration file.
0コメント