logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Getting apache to run
Author
mathman



Joined: 25 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Tue 11 Jun '24 17:52    Post subject: Getting apache to run Reply with quote

Hi,
I am trying to install apache 2.4. I tried to reinstall it. Nothing. I am getting the servername error.
I don't know what else to do, any suggestions?
Mark
Back to top
Otomatic



Joined: 01 Sep 2011
Posts: 183
Location: Paris, France, EU

PostPosted: Tue 11 Jun '24 20:21    Post subject: Reply with quote

Hi,

Please give the complete and exact text of the errors that should be in apache_error.log

With so little information, it's virtually impossible to give you a solution.

- Operating system
- Apache version
- etc.
Back to top
mathman



Joined: 25 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Wed 12 Jun '24 0:01    Post subject: Here you go Reply with quote

Here is the error.log.

Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ly determine the server's fully qualified domain name, using fe80::8ca9:329f:b950:62a0. Set the 'ServerName' directive globally to suppress this message
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Tue Jun 11 11:42:50.443568 2024] [:emerg] [pid 9896:tid 336] AH00020: Configuration Failed, exiting
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ly determine the server's fully qualified domain name, using fe80::8ca9:329f:b950:62a0. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 11 11:46:09.742544 2024] [core:warn] [pid 20192:tid 336] AH00098: pid file C:/Apache24/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Tue Jun 11 11:46:09.758165 2024] [:emerg] [pid 20192:tid 336] AH00020: Configuration Failed, exiting
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8ca9:329f:b950:62a0. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 11 11:47:02.012134 2024] [core:warn] [pid 4348:tid 340] AH00098: pid file C:/Apache24/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Tue Jun 11 11:47:02.032587 2024] [:emerg] [pid 4348:tid 340] AH00020: Configuration Failed, exiting
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ly determine the server's fully qualified domain name, using fe80::8ca9:329f:b950:62a0. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 11 11:50:09.836267 2024] [core:warn] [pid 3132:tid 336] AH00098: pid file C:/Apache24/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Tue Jun 11 11:50:09.851884 2024] [:emerg] [pid 3132:tid 336] AH00020: Configuration Failed, exiting
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8ca9:329f:b950:62a0. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 11 16:49:09.077365 2024] [core:warn] [pid 4044:tid 168] AH00098: pid file C:/Apache24/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0
[Tue Jun 11 16:49:09.108997 2024] [:emerg] [pid 4044:tid 168] AH00020: Configuration Failed, exiting
Back to top
mathman



Joined: 25 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Wed 12 Jun '24 0:03    Post subject: More stats Reply with quote

I have a dell alienware computer. I7 cpu, 32 Gig of ram. And a decent NVidia graphics card.
Back to top
Stray78



Joined: 15 Apr 2024
Posts: 20
Location: USA

PostPosted: Wed 12 Jun '24 3:54    Post subject: Reply with quote

Windows? What does your event viewer log say?

You're obviously having a VC Runtime issue.
Code:
PHP Warning: 'C:\\WINDOWS\\SYSTEM32\\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.29 in Unknown on line 0

What version of PHP are you running? Running as module or FastCGI?

Get the correct VC runtime package here...
https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

Servername directive is in your httpd.conf.
Code:
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName www.mysite.local
Back to top
mathman



Joined: 25 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Wed 12 Jun '24 18:22    Post subject: I am running everything normally Reply with quote

I am not doing anything fancy. Just trying to get Apache to work.
Back to top
mathman



Joined: 25 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Wed 12 Jun '24 18:43    Post subject: Event viewer Reply with quote

HI,
Event viewer shows nothing.
Back to top
mathman



Joined: 25 Sep 2015
Posts: 17
Location: worester, usa

PostPosted: Wed 12 Jun '24 18:57    Post subject: Thanks guys Reply with quote

HI,
I downloaded the visual studio redistributable file from Microsoft. I now have a running Apache.
Thanks for the help
Mark
Back to top


Reply to topic   Topic: Getting apache to run View previous topic :: View next topic
Post new topic   Forum Index -> Apache