![]() ![]() Multiple instances of Apache can be installed and run as services. In the drop-down list, verify that the following rights have been granted to the selected account:Ĭonfirm that the selected account is a member of the Users group.Ĭonfirm the selected account has access to all document and script directories (minimally read and browse access).Ĭonfirm the selected account has read/write/delete access to the Apache logs directory! Select the option for Advanced User Rights. Retype the password and password confirmation.Ĭlick on Policies from the title bar menu, and select User Rights. You may wish to create an account for your Apache services. Verify that the service account is correct. Select Apache from the Control Panel's Service dialog and click Startup. To assure you are using the service's default configuration Only errors as Apache attempts to start are captured in the Application Event Log.Īfter starting Apache as a service (or if you have trouble starting it) you can test it using the same procedure as for running in a console window. You will find few Apache error details in the Windows NT Event Log. See Controlling Apache as a Service for more information on installing and controlling Apache services.Īpache, unlike many other Windows NT/2000 services, logs most errors to its own error.log file, in the logs folder within the Apache server root folder. As an alternative to using the Services window, you can start and stop the "Apache" service from the command line with You can later stop Apache by clicking on Stop. Apache will now be running, hidden in the background. Once this is done you can start the "Apache" service by opening the Services window (in the Control Panel, hidden in "Administrative Tools" on Windows 2000), selecting Apache, then clicking on Start. To install the default Apache service named "Apache", choose the "Install as Service for All Users" option when launching the Apache installation package. Multiple Apache services can be installed, each with a different name and configuration. To start Apache as a service, you first need to install it as a service. Any transactions in progress are allowed to complete without interruption. This makes it re-read the configuration files. Earlier versions do not understand -k stop. Note: This option is only available with Apache 1.3.3 and later.įor earlier versions, you must use Control-C in the Apache console window to shut down the server.įrom version 1.3.3 through 1.3.12, this should be used instead of pressing Control-C in a running Apache console window, because it allowed Apache to end any current transactions and cleanup gracefully.Īs of version 1.3.13 pressing Control-C in the running window will cleanup Apache quite gracefully, and you may use -k stop as an alias for -k shutdown. You can tell a running Apache to stop by opening another console window and running: Here's other info I collected from the Net: If you are having problems with Apache hanging after 'x' hours, you might want to try this:Ģ. Currently I am trying an automatic scheduled event to restart Apache every 1 hour and so far, it looks promising. Well I tried installing Apache and mySQL as a service and again, Apache sticks after 'x' hours. Is there any way to see why it dies? Logs? ozental_uk Posts: 21 Joined: 30. Today, either Apache or MySQL died after just 30 minutes or so. One thing I tried to date was a batch file that is scheduled every 6 or so hours: When I have tried installing Apache and MySQL as services, I don't seem to be able to re-connect to the web site after a reboot - and yeah, they are certainly running as seen in Control Panel/Admin Tools/Services, so I usually end up uninstalling them as a service. Mine seems to be OK for several hours and then dies, but sometimes the site is up for more than 24 hours without a problem and then dies. This one thing is really bothering me though. but I'm learning fast and I have everything now running great. Is there some kind of setting I need to configure in order to have it continuously "ON"? ![]() Normenclature wrote:For some reason, mySQL loses its connectivity and in order to reconnect I have to stop XAMPP and then restart it again. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |