logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



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

Apache Lounge is not sponsored by anyone.

Your donations will help to keep this site alive and well, and continuing the building of the binaries.



PHP 7.1.8, 7.0.22, 5.6.31, 5.5.38, 5.4.45, 5.3.29 available
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    Apache Forum Index -> Apache Building & Member Downloads



View previous topic :: View next topic  
Author Message
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Thu 22 Jan '15 19:13    Post subject: PHP 7.1.8, 7.0.22, 5.6.31, 5.5.38, 5.4.45, 5.3.29 available Reply with quote

PHP 7.1.8, 7.0.22 & 5.6.31 are available for download at http://windows.php.net/download/

If you are looking for php.net's 5.5.38, 5.4.45 & 5.3.29:
http://windows.php.net/downloads/releases/archives/
or http://windows.php.net/downloads/releases/

Many extensions are also available on php.net:
http://windows.php.net/downloads/pecl/releases/

All my builds use OpenSSL 1.0.2-fips now, while php.net uses OpenSSL 0.9.8 for 5.3 & 5.4, OpenSSL 1.0.1 for 5.5 & 5.6 and OpenSSL 1.0.2 for PHP 7.0 and 7.1. Be careful with mixing my extensions with the official binaries.

My builds:

PHP 7.1

https://phpdev.toolsforresearch.com/php-7.1.8-nts-Win32-VC14-x64.htm
https://phpdev.toolsforresearch.com/php-7.1.8-nts-Win32-VC14-x64.zip

https://phpdev.toolsforresearch.com/php-7.1.8-Win32-VC14-x64.htm
https://phpdev.toolsforresearch.com/php-7.1.8-Win32-VC14-x64.zip

https://phpdev.toolsforresearch.com/php-7.1.8-nts-Win32-VC14-x86.htm
https://phpdev.toolsforresearch.com/php-7.1.8-nts-Win32-VC14-x86.zip

https://phpdev.toolsforresearch.com/php-7.1.8-Win32-VC14-x86.htm
https://phpdev.toolsforresearch.com/php-7.1.8-Win32-VC14-x86.zip

PHP 7.0

https://phpdev.toolsforresearch.com/php-7.0.22-nts-Win32-VC14-x64.htm
https://phpdev.toolsforresearch.com/php-7.0.22-nts-Win32-VC14-x64.zip

https://phpdev.toolsforresearch.com/php-7.0.22-Win32-VC14-x64.htm
https://phpdev.toolsforresearch.com/php-7.0.22-Win32-VC14-x64.zip

https://phpdev.toolsforresearch.com/php-7.0.22-nts-Win32-VC14-x86.htm
https://phpdev.toolsforresearch.com/php-7.0.22-nts-Win32-VC14-x86.zip

https://phpdev.toolsforresearch.com/php-7.0.22-Win32-VC14-x86.htm
https://phpdev.toolsforresearch.com/php-7.0.22-Win32-VC14-x86.zip

PHP 5.6

https://phpdev.toolsforresearch.com/php-5.6.31-nts-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.6.31-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.6.31-nts-Win32-VC11-x64.zip
https://phpdev.toolsforresearch.com/php-5.6.31-Win32-VC11-x64.zip

PHP 5.5

https://phpdev.toolsforresearch.com/php-5.5.38-nts-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.5.38-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.5.38-nts-Win32-VC11-x64.zip
https://phpdev.toolsforresearch.com/php-5.5.38-Win32-VC11-x64.zip

PHP 5.4

https://phpdev.toolsforresearch.com/php-5.4.45-nts-Win32-VC9-x86.zip
https://phpdev.toolsforresearch.com/php-5.4.45-Win32-VC9-x86.zip
https://phpdev.toolsforresearch.com/php-5.4.45-nts-Win32-VC9-x64.zip
https://phpdev.toolsforresearch.com/php-5.4.45-Win32-VC9-x64.zip

PHP 5.3

https://phpdev.toolsforresearch.com/php-5.3.29-nts-Win32-VC9-x86.zip
https://phpdev.toolsforresearch.com/php-5.3.29-Win32-VC9-x86.zip
https://phpdev.toolsforresearch.com/php-5.3.29-nts-Win32-VC9-x64.zip
https://phpdev.toolsforresearch.com/php-5.3.29-Win32-VC9-x64.zip

If you have got the choice, use the binaries from php.net because they are built with PGO and are faster.

If you are looking for non-fips OpenSSl binaries:
https://slproweb.com/products/Win32OpenSSL.html
They do not keep previous versions online, so you will have to download the newest one at every OpenSSL update.

Edit 2015-03-19: Updated to 5.6.7, 5.5.23 and 5.4.39.

Edit 2015-04-15: Bumped to 5.6.7, 5.5.24 and 5.4.40.

Edit 2015-04-16: Bumped to 5.6.8.

Edit 2015-05-13: Bumped to 5.4.41 & 5.5.25.

Edit 2015-05-14: Bumped to 5.6.9.

Edit 2015-06-10: Bumped to 5.6.10, 5.5.26, 5.4.42.

Edit 2015-07-08: PHP 5.4.43

Edit 2015-07-10: PHP 5.6.11 and 5.5.27

Edit 2015-08-07: PHP 5.6.12, 5.5.28, 5.4.44

Edit 2015-09-04: PHP 5.6.13, 5.5.29, 5.4.45

Edit 2015-10-01: PHP 5.6.14, 5.5.30

Edit 2015-11-11: PHP 5.6.15

Edit 2015-11-27: PHP 5.6.16

Edit 2015-12-03: PHP 7.0.0

Edit 2015-12-17: PHP 7.0.1

Edit 2016-01-07: PHP 7.0.2, 5.6.17, 5.5.31

Edit 2016-02-04: PHP 7.0.3, 5.6.18, 5.5.32

Edit 2016-03-02: PHP 7.0.4

Edit 2016-03-03: PHP 5.6.19, 5.5.33

Edit 2016-03-30: PHP 7.0.5, 5.5.34

Edit 2016-04-01: PHP 5.6.20

Edit 2016-04-28: PHP 7.0.6, 5.6.21, 5.5.35

Edit 2016-05-26: PHP 7.0.7, 5.6.22, 5.5.36

Edit 2016-06-22: PHP 7.0.8, 5.6.23, 5.5.37

Edit 2016-07-20: PHP 7.0.9, 5.5.38

Edit 2016-07-21: PHP 5.6.24

Edit 2016-08-18: PHP 7.0.10

Edit 2016-08-19: PHP 5.6.25

Edit 2016-09-14: PHP 7.0.11

Edit 2016-09-16: PHP 5.6.26

Edit 2016-10-13: PHP 7.0.12, 5.6.27

Edit 2016-11-09: PHP 7.0.13, 5.6.28

Edit 2016-12-01: PHP 7.1.0

Edit 2016-12-08: PHP 7.0.14, 5.6.29

Edit 2017-01-19: PHP 7.1.1, 7.0.15, 5.6.30

Edit 2017-02-15: PHP 7.1.2, 7.0.16

Edit 2017-03-15: PHP 7.1.3, 7.0.17

Edit 2017-04-12: PHP 7.1.4, 7.0.18

Edit 2017-05-10: PHP 7.1.5, 7.0.19

Edit 2017-06-08: PHP 7.1.6, 7.0.20

Edit 2017-07-05: PHP 7.1.7, 7.0.21

Edit 2017-07-07: PHP 5.6.31

Edit 2017-08-01: PHP 7.1.8, 7.0.22


Last edited by Jan-E on Thu 03 Aug '17 6:30; edited 80 times in total
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Thu 19 Feb '15 11:37    Post subject: Reply with quote

Bumped the versions in the topic start, now that PHP 5.6.6, PHP 5.5.22 & PHP 5.4.38 have become available for download at http://windows.php.net/download/

Last edited by Jan-E on Thu 19 Mar '15 19:47; edited 1 time in total
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Sun 15 Mar '15 1:28    Post subject: Reply with quote

I have updated all these builds to libssh2 1.5.0, because of this security advisory:
http://libssh2.org/adv_20150311.html

The PHP devs are aware of this and will probably fix it in the next 5.4, 5.5 and 5.6 releases. Let us see if they upgrade 5.6.7 and 5.5.23 (i.e. after 5.6.7RC1 and 5.5.23RC1) or wait till 5.6.8 and 5.5.24.

PHP 5.3 will not be upgraded anymore by the PHP devs.
Back to top
Zarabozo



Joined: 08 May 2014
Posts: 2
Location: Mexico City

PostPosted: Wed 18 Mar '15 11:22    Post subject: Reply with quote

Jan-E:

Thank you very much, once again, for doing this. I'm tied to Apache 2.2 because of mod_perl, which hasn't released a stable versiĆ³n compatible with Apache 2.4. Your builds help me keep PHP to the latest version with Apache 2.2.

Is there any chance you can teach me to build PHP myself? I do it myself with Apache, MySQL and Perl and I would like very much to have your guide doing it with PHP too. The guide in the PHP website is not very clear and depends on x86 binaries. I hope you can let me know. Smile

Thanks in advance,

Francisco
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Wed 18 Mar '15 12:10    Post subject: Reply with quote

My builds also depend very much on x86 binaries. Precompiled binaries are at http://windows.php.net/downloads/php-sdk/ and the subdirectories of http://windows.php.net/downloads/php-sdk/deps/

I can not tell you much more than what is in the guide at php.net
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Fri 20 Mar '15 7:59    Post subject: Reply with quote

I updated all builds with OpenSSL-fips-1.0.1m
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Wed 15 Apr '15 17:45    Post subject: Update needed for every PHP as mod_php under Apache 2.4 Reply with quote

Quote from the NEWS file of PHP 5.5.24:
Quote:
16 Apr 2015, PHP 5.5.24

- Apache2handler:
. Fixed bug #69218 (potential remote code execution with apache 2.4
apache2handler). (Gerrit Venema)

Whether remote execution was possible is not sure. What has been verified: it was possible to let Apache 2.4 segfault (crash) by sending requests from a remote server, if Apache was running PHP 5.3/5.4/5.5/5.6 as mod_php (using php5apache2_4.dll).

I have updated all (TS) versions of PHP 5.3, 5.4.40 and 5.5.24 with this fix. The fix in 5.6.8 will follow as soon as those sources are released. Alternative: my 5.6.8RC1 builds already contain the patch since March 31.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2098
Location: Sun Diego, USA

PostPosted: Wed 15 Apr '15 21:42    Post subject: Re: Update needed for every PHP as mod_php under Apache 2.4 Reply with quote

Jan-E wrote:
it was possible to let Apache 2.4 segfault (crash) by sending requests from a remote server, if Apache was running PHP 5.3/5.4/5.5/5.6 as mod_php (using php5apache2_4.dll)


Only on Apache 2.4? This seems like something that has been happening for a long time and is why many of us moved to running php under mod_fcgid even before Apache 2.4.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Thu 16 Apr '15 1:02    Post subject: Reply with quote

This specific issue was only for Apache 2.4. I have tried to reproduce it with Apache 2.2, but there were no segfaults.

BTW: it was not OS-specific. I could remotely get Apache on Centos6 segfault as well.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6189
Location: Germany, Next to Hamburg

PostPosted: Thu 16 Apr '15 17:11    Post subject: Reply with quote

I build apache myself from source and with fcgid on linux I don't have that issue.

by the way: https://github.com/JBlond/debian_build_apache24

There is also a branch for CentOS
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Thu 16 Apr '15 18:05    Post subject: Reply with quote

With fcgid it is no issue on any OS. With mod_php it is/was an issue on every OS.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Mon 27 Apr '15 16:32    Post subject: Reply with quote

I upgraded curl in all my builds because the latest releaase fixed some security issues.
Back to top
C0nw0nk



Joined: 07 Oct 2013
Posts: 241
Location: United Kingdom, London

PostPosted: Sat 16 May '15 14:30    Post subject: Reply with quote

Hey Jan-E i wounder if you know of a soloution to the way PHP 64bit builds also have the same limitations as 32bit builds.

For example i made two scripts.

one will use the "sha1_file" function.

another will use the "filesize" function.

And they both can not process files greater than or equal to 2GB.

http://php.net/manual/en/function.hash-file.php
Quote:
Please take note that hash-file will throw error on files >=2GB.


http://php.net/manual/en/function.filesize.php
Quote:
Note: Because PHP's integer type is signed and many platforms use 32bit integers, some filesystem functions may return unexpected results for files which are larger than 2GB.


I have not tested with the "ssdeep" extension you compile into your builds and before i do i will wait for your reply maybe it will hold the same result.

If the ssdeep extension does not have this limitation atleast i can use that instead of sha1_file.

As of the filesize function i am still seeking a alternative / soloution on windows.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Sat 16 May '15 14:44    Post subject: Reply with quote

PHP5 will have the 32-bits limits forever, even in the 64-bits builds. Try my PHP7 builds.

With respect to the ssdeep extension: I really do not know. Just try it.
Back to top
C0nw0nk



Joined: 07 Oct 2013
Posts: 241
Location: United Kingdom, London

PostPosted: Sat 16 May '15 15:01    Post subject: Reply with quote

I would go straight to the PHP7 builds but since they are still dev and not stable i cant use it for production Sad

But as for the ssdeep i will give it a try and let you know fingers crossed for hashing files.
Back to top
C0nw0nk



Joined: 07 Oct 2013
Posts: 241
Location: United Kingdom, London

PostPosted: Sat 16 May '15 15:57    Post subject: Reply with quote

ssdeep has the same 2GB max file size limitation it seems Sad

Do you have a link to the latest compiled php7 of yours.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Sat 16 May '15 16:05    Post subject: Reply with quote

http://www.apachelounge.com/viewtopic.php?p=29668#29668

I'll guess the PHP7 ssdeep extension has the same limit, because the sources are the same. Did you test the ssdeep extension on *nix?
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 774
Location: Amsterdam, NL, EU

PostPosted: Sat 16 May '15 16:07    Post subject: Reply with quote

http://www.apachelounge.com/viewtopic.php?p=29668#29668

Change the x86 into x64 for the 64-bits builds.
Back to top
C0nw0nk



Joined: 07 Oct 2013
Posts: 241
Location: United Kingdom, London

PostPosted: Sat 16 May '15 17:03    Post subject: Reply with quote

I have not tried at all on PHP7 yet jan instead i have sprung a idea.

My code for getting the "sha1_file" is as follows.

Code:
$fname = $_FILES['Filedata']['tmp_name'];
$filesource = sha1_file($fname);


A soloution with the windows command prompt is as follows.

The HashAlgorithm choices: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

Code:
CertUtil -hashfile "C:\Users\C0n\Desktop\2GB-file.MP4" SHA1

The output will be :
Code:
CertUtil -hashfile "C:\Users\C0n\Desktop\2GB-file.MP4" SHA1
SHA1 hash of file C:\Users\C0n\Desktop\2GB-file.MP4:
b2 a7 df ab 5f c4 fe 65 e3 fc 34 5f 0d 3e 4c 6f 30 13 f2 e6
CertUtil: -hashfile command completed successfully.


I just need to figure out a way to exec to get the hash sum output of command prompt "certutil" with php :/ and that can be my soloution for windows.

Aswell as remove the spaces between the hash output.

//EDIT :

Working version :
Code:

if(substr(PHP_OS, 0, 3) == "WIN") {
$input = 'CertUtil -hashfile "C:\Users\C0n\Desktop\2GB-file.MP4" SHA1';
//Eexecute input and put the response into a array
exec($input, $response);
//Remove spaces between the hash output.
$str = str_replace(' ', '', $response[1]);
//echo $response[1];
//Display the hash of the file
echo $str;
}
Back to top
C0nw0nk



Joined: 07 Oct 2013
Posts: 241
Location: United Kingdom, London

PostPosted: Sat 16 May '15 22:53    Post subject: Reply with quote

Tested with Jan's PHP7 64BIT VC11 builds.

https://phpdev.toolsforresearch.com/php-7.0.0-dev-nts-Win32-VC11-x64.zip

MD5, SHA1 and SSDEEP :
Code:
<?php
echo md5_file('C:\Users\C0n\Desktop\2GB-file.mp4');
echo sha1_file('C:\Users\C0n\Desktop\2GB-file.mp4');
echo ssdeep_fuzzy_hash_filename('C:\Users\C0n\Desktop\2GB-file.mp4');
?>


Tried with your PHP7 nts VC11 build for me it seems to work

Makes me want the PHP7 release even more now Sad


Last edited by C0nw0nk on Sat 16 May '15 23:07; edited 1 time in total
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache Building & Member Downloads Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7