wampapache64 service won't start
Posted by: ntamburro (198.187.135.---)
Date: May 06, 2021 08:00PM

When starting this service, I get the error:

"Windows could not start the wampapache64 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 1."

In Event Log, we're Informed that the service has entered the stopped state.


And we get the following error in Windows Logs > System ... source is Service Control M:anager
The wampapache64 service terminated with the following service-specific error:
Incorrect function.

Here's some info:
WampServer 3.1.3
phpMyAdmin 4.7.9
Adminer 4.6.2
Apache 2.4.33
PHP 5.6.35
MySQL 5.7.21

Wamp logo is orange.

In the PHP error log I see this:
[05-May-2021 20:52:21 UTC] Apache variable "${INSTALL_DIR}" is not defined.

In the Apache log I see this at the bottom, with no date, more than 10 times in a row:
AH00016: Configuration Failed



Edited 3 time(s). Last edit at 05/06/2021 08:13PM by ntamburro.

Options: ReplyQuote
Re: wampapache64 service won't start
Posted by: ntamburro (198.187.135.---)
Date: May 06, 2021 08:03PM

Also, we have it running on Windows Server 2016...

Options: ReplyQuote
Re: wampapache64 service won't start
Posted by: Otomatic (Moderator)
Date: May 07, 2021 09:57AM

Hi,

> WampServer 3.1.3
Very old !
Last version is 3.2.5.

What is the result of: Right-Click -> Tools -> Check states of services

But I'm afraid that your version 3.1.3 can't give the necessary details to understand the problem.

This may be a problem related to VC++ packages

- Verify that all VC ++ packages are installed and with the latest versions.
To do this, use the tool:
Checks VC++ packages installed
Do not use a previously loaded tool. Make a new download to make sure you are using the correct version.
To download missing packages, do not rely on Microsoft links, they are not reliable, download packages on http://wampserver.aviatechno.net in section Visual C++ Redistribuable Packages
Do not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package.
You must install each package "as an administrator", so right-click the exe file and then run as Administrator.

- Apply Update 3.2.5 to your version of Wampserver
Wampserver update 3.2.5

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: wampapache64 service won't start
Posted by: ntamburro (198.187.135.---)
Date: May 08, 2021 09:46PM

Thanks for this info!

I upgrade Wamp and Apache. Now we're at:

Wamp: 3.2.5
Apache 2.4.47

We've got the Wamp icon back to green.

Now, though, when I go to load the page, I'm getting the Wamp screen, and these errors:

"Your VirtualHost
<OUR URL HERE> - DocumentRoot error
Error(s) See below"

and, below...

"The ServerName <OUR URL HERE> use DocumentRoot c:/wamp64/www reserved to localhost"

I've entered these lines in httpd-vhosts file and the httpd.conf files:

(commented lines are what used to be there)

#DocumentRoot "${INSTALL_DIR}/www"
#<Directory "${INSTALL_DIR}/www/">
DocumentRoot "c:/wamp64/www"
<Directory "c:/wamp64//www/">


Any ideas? Thanks for all the help!



Edited 1 time(s). Last edit at 05/08/2021 09:49PM by ntamburro.

Options: ReplyQuote
Re: wampapache64 service won't start
Posted by: ntamburro (198.187.135.---)
Date: May 08, 2021 10:29PM

Hi again,

Update: I've moved past this error.

But we're still getting the Wamp page when we load, instead of our own content.

Options: ReplyQuote
Re: wampapache64 service won't start
Posted by: Otomatic (Moderator)
Date: May 09, 2021 09:41AM

Hi,

Read carefully:
The need for Virtual Host
and
Wampserver 3 - Create or add a VirtualHost
and
Why to create a VirtualHost BEFORE installing a CMS

Your VirtualHost is incorrectly set, so since Apache can't find your ServerName, it defaults to the Wampserver homepage.

Contents of the file httpd-vhosts.conf
Contents of the file C:\Windows\System32\drivers\etc\hosts

Result of:
Right-click -> Tools -> Show VirtualHosts examined by Apache

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.