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. ZarabozoJoined: 08 May 2014 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. Thanks in advance, Francisco Jan-EJoined: 09 Mar 2012 Joined: 09 Mar 2012 Joined: 09 Mar 2012 Quote:16 Apr 2015, PHP 5.5.24 - Apache2handler: 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. glsmithModerator Joined: 16 Oct 2007 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. Jan-EJoined: 09 Mar 2012 BTW: it was not OS-specific. I could remotely get Apache on Centos6 segfault as well. James BlondModerator Joined: 19 Jan 2006 Joined: 09 Mar 2012 Joined: 09 Mar 2012 Joined: 07 Oct 2013 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 http://php.net/manual/en/function.filesize.php 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. Jan-EJoined: 09 Mar 2012 With respect to the ssdeep extension: I really do not know. Just try it. C0nw0nkJoined: 07 Oct 2013 But as for the ssdeep i will give it a try and let you know fingers crossed for hashing files. C0nw0nkJoined: 07 Oct 2013 Do you have a link to the latest compiled php7 of yours. Jan-EJoined: 09 Mar 2012 Joined: 09 Mar 2012 Joined: 07 Oct 2013 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" SHA1The 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. |