PHP Version 5.4.36 released

abolfazl201358

Verified User
Joined
Aug 31, 2011
Messages
39
18 Dec 2014 The PHP development team announces the immediate availability of PHP 5.4.36. Two security-related bugs were fixed in this release, including the fix for CVE-2014-8142. All PHP 5.4 users are encouraged to upgrade to this version.

18-Dec-2014 Core:

  • Upgraded crypt_blowfish to version 1.3.
  • Fixed bug #68545 (NULL pointer dereference in unserialize.c).
  • Fixed bug #68594 (Use after free vulnerability in unserialize()) (CVE-2014-8142).
 
It hangs on this line:

root@srv:/usr/local/directadmin/custombuild # ./build php n
File already exists
MD5 Checksum on php-5.4.36.tar.gz passed.
Found /usr/local/directadmin/custombuild/php-5.4.36.tar.gz
Extracting ...
Done.
Disabling asm/atomic in /usr/local/mysql/include/my_global.h
File already exists
MD5 Checksum on patches/Another_fix_for_mod_proxy_fcgi_v2.patch passed.
Configuring php-5.4.36...
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sapi/fpm/fpm/fpm_main.c.old 2014-09-15 10:19:13.910192543 +0200
|+++ sapi/fpm/fpm/fpm_main.c 2014-09-15 10:48:25.238490219 +0200
--------------------------
Patching file sapi/fpm/fpm/fpm_main.c using Plan A...
Hunk #1 succeeded at 1231 (offset -6 lines).
done
Patching is done.
 
wattie, may you try:
Code:
sh -x ./build php n

And let me know the last 10 lines when it hangs (if you'd like me to, I could check that on your server). Thank you! :)
 
Patching file sapi/fpm/fpm/fpm_main.c using Plan A...
Hunk #1 succeeded at 1231 (offset -6 lines).
done
+ echo 'Patching is done.'
Patching is done.
+ CONFIGURE_FILE_VAR=PHP54_CONFIGURE
+ [ mod_php != mod_php ]
+ [ mod_php != mod_php ]
+ [ mod_php = php-fpm ]
+ [ mod_php = suphp ]
+ [ mod_php = fastcgi ]
+ [ mod_php = lsphp ]
+ eval_var PHP54_CONFIGURE
+ var=PHP54_CONFIGURE
+ [ -z PHP54_CONFIGURE ]
+ eval 'newval=$PHP54_CONFIGURE'
+ newval=custom/ap2/configure.php54
+ echo custom/ap2/configure.php54
+ CONF_FILE=/usr/local/directadmin/custombuild/custom/ap2/configure.php5
+ [ FreeBSD = FreeBSD ]
+ [ 9 -ge 10 ]
+ [ 5.4 = 5.3 ]
+ [ 5.4 = 5.4 ]
+ grep -c -m1 ac_cv_decimal_fp_supported=no /usr/local/directadmin/custo
+ COUNT=0
+ [ 0 = 0 ]
+ perl -pi -e 's#./configure \\#./configure ac_cv_decimal_fp_supported=n

Sure you can check. You have the credentials already :)
 
I have also seen the same hang on freebsd (but is ok on linux) servers. I did short diagnosis to confirm nothing is been processed or disk i/o, its as if it is just sleeping.
 
Please try CustomBuild 2.0 rev. 1181 and see if that solves PHP 5.3/5.4 problems on FreeBSD boxes :)
 
Back
Top