Forum Moderators: phranque

Message Too Old, No Replies

starting Apache on Windows 11?

         

craigtussey3

8:40 pm on Mar 22, 2022 (gmt 0)



I've been running Apache 2.4 for several years on an older Windows 10 laptop. I had the apache24 directory backed up on OneDrive. I recently bought a new Windows 11 laptop and brought the apache24 directory onto the laptop from OneDrive. What do I have to do to get the server to work on the new computer. I've tried a few things with no luck. Any help will be appreciated.

phranque

10:27 pm on Mar 22, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], craigtussey3!

i would start by obtaining and installing the current service pack:
Using Apache HTTP Server on Microsoft Windows [httpd.apache.org]

craigtussey3

11:25 pm on Mar 22, 2022 (gmt 0)



phranque, when I took that link I eventually went to [apachelounge.com...] and see httpd-2.4.53-win64-VS16.zip which is Apache 2.4.53. Win64. It was the only download of the Apache server for 64bit Windows. Its dated 6 days ago. Is this what your calling the service pack?

phranque

3:33 am on Mar 23, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Is this what your calling the service pack?

yes, this is what you want.
from the Apache Lounge page:
The binaries, are build with the sources from ASF at httpd.apache.org, contains the latest patches and latest dependencies like zlib, openssl etc. ...

the Apache HTTP Server Project released 2.4.53 on March 14, 2022:
https//httpd.apache.org/security/vulnerabilities_24.html#2.4.53
and Apache Lounge released the binaries 2 days later:
16-March-2022 Changes with Apache 2.4.53 [apachelounge.com]

craigtussey3

6:30 pm on Mar 23, 2022 (gmt 0)



phranque, can you recommend anyone who can install Apache on my new Windows 11 box remotely? Windows 11 comes with c++ 2013 only. The Apache 2.4.53 readme file says Visual C++ Redistributable for Visual Studio 2015-2019 x64 needs to be installed. I'm an application developer and just need to get Apache running on my Windows 11 box. Thanks.

NickMNS

6:40 pm on Mar 23, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Another option could be to use the windows linux subsystem, that allows you to run linux applications on the windows machine.
[docs.microsoft.com...]

craigtussey3

7:46 pm on Mar 23, 2022 (gmt 0)



I see [aka.ms...] which is the latest Microsoft Visual C++ Redistributable package, on the [docs.microsoft.com...] website. It says there that 'We recommend you install this version for all applications created using Visual Studio 2015, 2017, 2019, or 2022.' . Is this the right c++ version?

craigtussey3

8:13 pm on Mar 23, 2022 (gmt 0)



NickMNS, the application I'm working on was built on Windows for Windows clients. But I'd like to ask you a question. The only concern in this application is the line end characters sniffed for in JavaScript to do things like break apart a multi line textarea string. It only looks for Windows line end characters. That could easily be expanded to look for Unix and MAC line end characters. Here is the question. What about a Linux server and WIndows clients or a Windows server and some MAC clients, or any one of these types as server with a mix of clients. I've read that FTP translates line end characters depending on the source and destination. Could you comment on this please.

Cliff

craigtussey3

1:18 pm on Mar 24, 2022 (gmt 0)



phranque, I installed c++ and Apache. This the 3rd time I've 'upgraded' Apache through the years with several years in between. I started with 5.8 I think it was. It was very easy to do all of these installs and Apache has always been solid and performant. I'm moving at the same time I'm doing this and am a little overwhelmed. I may have some more questions, Thanks for the pointers. Its been awhile since the last time I went through this. I 'm using Perl 5.26.3 and am trying to get mod_perl up on the 11 box as I have on the 10 box for some time now. Thanks again.

NickMNS

1:41 pm on Mar 24, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What about a Linux server and WIndows clients or a Windows server and some MAC clients, or any one of these types as server with a mix of clients. I've read that FTP translates line end characters depending on the source and destination. Could you comment on this please.

I have no idea. I have never had any issues, the only time I've run into an issue is with data files eg: csv, in which case I've dealt with manually. But I don't use Perl so I really don't have an answer for you.

craigtussey3

4:43 pm on Mar 24, 2022 (gmt 0)



NickMNS, this issue is unique to the OS. The same issue exists in any host language, interpreted or compiled. For example, imagine you want to break apart a multiline textarea string into an array of textarea lines in JavaScript. If a facility like FTP did not translate line end characters for the client OS, the application JavaScript would have to check the OS and use the correct line ending charcters to split the textarea string.

Brett_Tabke

3:51 am on May 22, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



<aside>I installed Wamp recently on Win11 and got it to work pretty quickly.</aside> [wampserver.com...]