I have installed apache on a Windows 7 system but when I try to run the apache service I get error 1067. I understand that this is a problem with the file httpd.conf but I cannot see anything obviously wrong with the file.
I am using apache_1.3.33-win32-x86-no_src.exe rather than httpd-2.2.17-win32-x86-no_ssl.msi to extract the apache server as I have had problems with the latter ensuring that installation is in the root folder.
I have successfully installed the apache server on two Windows XP systems.
What I would like to do is to put some code in the httpd.conf file to see how much of the code is executed before the problem. This would help me to analyse which line of code is causing the problem.
When starting Apache as a service you may encounter an error message from Windows service manager. For example if you try to start Apache using the Services applet in Windows Control Panel you may get the following message;
Could not start the apache service on \\COMPUTER Error 1067; The process terminated unexpectedly.
You will get this error if there is any problem starting Apache. In order to see what is causing the problem you should follow the instructions for Testing Apache at the Command Prompt. [httpd.apache.org]
Also, Apache 1.3.13 now records startup errors in the Application Event Log under Windows NT/2000, if Apache is run as a service. Run the Event Viewer and select Log ... Application to see these events.
Check the Application Event Log with the Event Viewer in case of any problems, even if no error message pops up to warn you that an error occurred.
Thanks for your help. However, I still had problems. So, uninstalled apache and cleared out all entries in Registry ('cos it was still showing up under Services but with no Start/Stop facility).
Then re-installed apache but this time chose httpd-2.2.17-win32-x86-no_ssl.msi. Just had a problem with where this program placed the files (it differes from the earlier version of apache). Anyway, managed to get it to install in c:\apache and all is now well except I can't install MySQL correctly. If I still have problems then will post question on a different forum.