The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16  (Read 5182 times)

Jan-E

  • Newbie
  • *
  • Offline Offline
  • Posts: 33
apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« on: July 15, 2015, 01:17:13 PM »

Hi Gregg,

Thanks for the VC9 builds. Is there a particular reason why you are using apr 1.5.1 in stead of apr 1.5.2?

Jan
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #1 on: July 15, 2015, 08:32:48 PM »

Greetings Jan,

I'm not seeing this.

What I am seeing is all the downloads for 2.4.16 on this server were corrupted during upload (DE mirror is OK). So that means all the sha checksums listed on the download page are incorrect ... just wonderful :(

I've uploaded again and this time they are fine. Wouldn't you know the one time since 2008 I do not check first I get bitten.

Anyhow, here is what I am seeing on the apr version and I just looked at libapr-1.dll's properties in every zip file and it's same.

VC9 x86

C:\Apache24ah\bin>httpd -V
Server version: Apache/2.4.16 (Win32)
Server built:   Jul 13 2015 10:37:15
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2008
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   32-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no

VC9 x64

C:\Apache24ah64\bin>httpd -V
Server version: Apache/2.4.16 (Win64)
Server built:   Jul 13 2015 10:08:03
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2008
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no

VC11 x86

Z:\!!VC11\Apache24ah\bin>httpd -V
Server version: Apache/2.4.16 (Win32)
Server built:   Jul 13 2015 12:42:27
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2012
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   32-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no

VC11 x64

Z:\!!VC11\Apache24ah64\bin>httpd -V
Server version: Apache/2.4.16 (Win64)
Server built:   Jul 13 2015 12:31:58
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2012
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no





Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #2 on: July 16, 2015, 05:58:56 AM »

I see it now. On the download page is was listed wrong. It's been a rough couple of days.
Logged

itspeaks

  • Newbie
  • *
  • Offline Offline
  • Posts: 9
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #3 on: July 17, 2015, 02:12:23 AM »

 :) Thanks for keeping us informed. !Love your Work!
Logged

Jan-E

  • Newbie
  • *
  • Offline Offline
  • Posts: 33
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #4 on: July 19, 2015, 06:16:13 PM »

Apparently, it still are rough times: the download page gives an error 500. Anyway, I downloaded your VC9-builds before that. Many thanks.

And I have been busy building 2.4.16 myself (VC9/VC11/VC14, x86/x64). I will be posting the SSL Fips binaries for VC9 and VC11 today. OpenSSL 1.0.2d cannot be built with Fips 2.0.9 because of a missing App_link. I posted the fix in the Apache dev list, but no reaction yet:
http://thread.gmane.org/gmane.comp.encryption.openssl.devel/29763/focus=29823

Edit: See https://www.apachelounge.com/viewtopic.php?t=6197 for my SSL Fips builds
« Last Edit: July 19, 2015, 07:42:27 PM by Jan-E »
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 583
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #5 on: July 20, 2015, 10:18:14 AM »

Sorry for the 500 error. I repaired that.
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #6 on: July 22, 2015, 05:42:44 AM »

The App_Link seems redundant. The FAQ that only passing mentions it does explicitly say it should be included only 'once'. I do not understand why Apache needs it. PHP evidently needs it so they are the ones that need to be including it in mod_php which then become a part of Apache and therefor the 'once'.

I tried the script posted over at AL and nothing "crashes." The script echos nothing and as far as I can tell it should. But it doesn't bring down mod_php nor Apache. We always suggest running PHP through mod_fcgid anyway and if done that way the entire thing becomes moot.

Back to the FAQ, the app_link is passingly mentioned in the part of using do_nt verses do_ms. Are you using do_nt? That only does non-asm 32bit.
Logged

Jan-E

  • Newbie
  • *
  • Offline Offline
  • Posts: 33
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #7 on: July 22, 2015, 02:17:21 PM »

When building OpenSSL FIPS you need a fips_premain_dso.exe that runs and it does not without the Applink.

Outside of the building script the error is the same
C:\openssl>out32dll\fips_premain_dso.exe out32dll\libeay32.dll
OPENSSL_Uplink(010CB000,08): no OPENSSL_Applink

I was using the standard building methods: with ms\do_ms.bat, ms\do_nasm.bat or ms\do_win64a.bat.

I am not sure if any binary in the normal Apache build needs it, but fips_premain_dso.exe definitely cannot live without it.
Logged

idblew

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #8 on: August 12, 2015, 06:33:22 AM »

Hi Gregg,

This may have been asked before, but how do you add the following lines to the "httpd -V" output?

Distributed by: The Apache Haus
Compiled with:  Visual Studio 2008

Many Thanks
Ian
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16
« Reply #9 on: August 13, 2015, 09:12:06 AM »

G'day and no, hasn't been asked till now.

In Le Source
httpd-2.4.x/server/main.c

scroll down to line 97
Code: [Select]
     printf("Server built:   %s\n", ap_get_server_built());

Just add printf statements for what you want.
« Last Edit: August 13, 2015, 09:42:19 AM by Gregg »
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13