Apache default install location windows




















Licensed under the Apache License, Version 2. Compiling and Installing Available Languages: de en es fr ja ko tr. See the Fedora project's documentation for platform-specific notes. See Ubuntu's documentation for platform-specific notes. Don't see your favorite platform mentioned here? Come help us improve this doc. On some platforms, you may have to install the corresponding -dev packages to allow httpd to build against your installed copy of APR and APR-Util.

If your build system can't find the pcre-config script installed by the PCRE build, point to it using the --with-pcre parameter. On some platforms, you may have to install the corresponding -dev package to allow httpd to build against your installed copy of PCRE. Disk Space Make sure you have at least 50 MB of temporary free disk space available. After installation the server occupies approximately 10 MB of disk space.

The actual disk space requirements will vary considerably based on your chosen configuration options, any third-party modules, and, of course, the size of the web site or sites that you have on the server. In addition, your PATH must contain basic build tools such as make. So, it's time to investigate setting some time synchronization facility on your system. If no Perl 5 interpreter is found by the configure script, you will not be able to use the affected support scripts.

Of course, you will still be able to build and use Apache httpd. Configuring the source tree The next step is to configure the Apache source tree for your particular platform and personal requirements.

Upgrading The first step in upgrading is to read the release announcement and the file CHANGES in the source distribution to find any changes that may affect your site. You should always test any new version in your environment before putting it into production. 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.

If you copy the Apache directory or configuration files to a new location it is vital that you update the ServerRoot directive in the httpd. After starting Apache either in a console window or as a service it will be listening on port 80 unless you changed the Listen directive in the configuration files or installed Apache only for the current user.

To connect to the server and access the default page, launch a browser and enter this URL:. Apache should respond with a welcome page and you should see "It Works! If nothing happens or you get an error, look in the error. If you happen to be running Apache on an alternate port, you need to explicitly put that in the URL:. Once your basic installation is working, you should configure it properly by editing the files in the conf subdirectory.

Again, if you change the configuration of the Windows NT service for Apache, first attempt to start it from the command line to make sure that the service starts with no errors. These conflicting services include other WWW servers, some firewall implementations, and even some client applications such as Skype which will use port 80 to attempt to bypass firewall issues.

Mapped drive letters allow the administrator to maintain the mapping to a specific machine and path outside of the Apache httpd configuration. However, these mappings are associated only with interactive sessions and are not directly available to Apache httpd when it is started as a service.

Use only UNC paths for network resources in httpd. Arcane and error prone procedures may work around the restriction on mapped drive letters, but this is not recommended. When running Apache httpd as a service, you must create a separate account in order to access network resources, as described above. If more than a few dozen piped loggers are used on an operating system instance, scaling up the "desktop heap" is often necessary.

For more detailed information, refer to the piped logging documentation. Copyright The Apache Software Foundation. Licensed under the Apache License, Version 2. Customizing Apache for Windows Apache is configured by the files in the conf subdirectory.

The main differences in Apache for Windows are: Because Apache for Windows is multithreaded, it does not use a separate process for each request, as Apache can on Unix. The process management directives are also different: MaxConnectionsPerChild : Like the Unix directive, this controls how many connections a single child process will serve before exiting. Warning: The server configuration file is reread when a new child process is started.

If you have modified httpd. You can install Apache as a Windows NT service as follows from the command prompt at the Apache bin subdirectory: httpd. Never grant any network privileges to the LocalSystem account! If you need Apache to be able to access network resources, create a separate account for Apache as noted below. It is usually a good practice to grant the user the Apache service runs as read and execute RX access to the whole Apache2.

For testing, the Adobe Flash Player's mm. These values are used in building the path to the SDK. So if you saved the playerglobal. Note: Since this value builds the path be sure to use the full value, Note: If you are using a new version of the Flash Player that is not yet mentioned in the version of the Flex SDK you are working with you may get the message: Error: configuration variable 'swf-version' value contains unknown token 'playerglobal. You can obtain a binary package from third-party web sites: You can install Apache as a Windows NT service as follows from the command prompt at the Apache bin subdirectory: httpd.

Download either the bit version httpd If not, correct any httpd. The easiest way to start Apache is to add it as a Windows service. Open a new command prompt as administrator , and enter the following:.

Create a file named index. If all goes well, your test page should appear.



0コメント

  • 1000 / 1000