PHP Version 5.4.33 released

ben29

Verified User
Joined
Jul 20, 2006
Messages
449
Location
Israel
  • Core:
    • Fixed bug #47358 (glob returns error, should be empty array()).
    • Fixed bug #65463 (SIGSEGV during zend_shutdown()).
    • Fixed bug #66036 (Crash on SIGTERM in apache process).
  • OpenSSL:
    • Fixed bug #41631 (socket timeouts not honored in blocking SSL reads).
  • Date:
    • Fixed bug #66091 (memory leaks in DateTime constructor).
  • FPM:
    • Fixed bug #67606 (FPM with mod_fastcgi/apache2.4 is broken).
  • GD:
    • Made fontFetch's path parser thread-safe.
  • Wddx:
    • Fixed bug #67873 (Segfaults in php_wddx_serialize_var).
  • Zlib:
    • Fixed bug #67724 (chained zlib filters silently fail with large amounts of data).
    • Fixed bug #67865 (internal corruption phar error).
big notice :

"This release is the last planned release that contains regular bugfixes. All the consequent releases will contain only security-relevant fixes, for the term of one year. PHP 5.4 users that need further bugfixes are encouraged to upgrade to PHP 5.6 or PHP 5.5."
 
I am experiencing some issues compiling it on FreeBSD 9.1:

Code:
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_dtrace.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo -lcrypt -lz -lexslt -lcrypt -lmcrypt -lltdl -lstdc++ -liconv -liconv -lintl -lpng -lz -ljpeg -lcrypto -lssl -lcrypto -lcurl -lz -lpcre -lcrypto -lssl -lcrypto -lrt -lm -lxml2 -lz -lm -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt -lcurl -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lfreetype -lz -lbz2 -lpng15 -lm -licui18n -licuuc -licudata -lm -licuio -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt  -o sapi/cgi/php-cgi
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'
ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'
*** [sapi/cgi/php-cgi] Error code 1
*** [sapi/cli/php] Error code 1
2 errors


I did a ./build zlib (as well as all other lib* packages in CustomBuild) and they go through fine... but still no luck in compiling PHP 5.4.33
 
Last edited:
I have /lib/libz.so.6 and /usr/local/lib/libz.so.1 (symlink to /usr/local/lib/libz.so.1.2.7).

When I rename /lib/libz.so.6.bak and symlink /lib/libz.so.6 to /usr/local/lib/libz.so.1.2.7, I get errors on ./build update (saying that something requires libz 1.2.4 but other version is found). When I do the opposite, Apache will crash.

Am I in a deadlock? :)
 
I am experiencing some issues compiling it on FreeBSD 9.1:

Code:
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_dtrace.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo -lcrypt -lz -lexslt -lcrypt -lmcrypt -lltdl -lstdc++ -liconv -liconv -lintl -lpng -lz -ljpeg -lcrypto -lssl -lcrypto -lcurl -lz -lpcre -lcrypto -lssl -lcrypto -lrt -lm -lxml2 -lz -lm -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt -lcurl -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lfreetype -lz -lbz2 -lpng15 -lm -licui18n -licuuc -licudata -lm -licuio -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt  -o sapi/cgi/php-cgi
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
/usr/bin/ld: warning: libz.so.6, needed by /usr/local/lib/libpng16.so, may conflict with libz.so.1
ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'
ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'
*** [sapi/cgi/php-cgi] Error code 1
*** [sapi/cli/php] Error code 1
2 errors


I did a ./build zlib (as well as all other lib* packages in CustomBuild) and they go through fine... but still no luck in compiling PHP 5.4.33




Same in FreeBSD 8.4
 
It might be gcc version related. May I check it directly on your server? (free of charge)
 
The fix was:
Code:
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/gcc48.tbz
cd /usr/local/directadmin/custombuild
export CC=gcc48
./build php n
 
sorry to reopen this but getting this again in freebsd 8.4

ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'
ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.33/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'

for the latest 5.4.35 and 5.5.19

any help be appreciated
 
I have the same error:

ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
ext/mysqlnd/.libs/mysqlnd_ps_codec.o: In function `ps_fetch_float':
/usr/local/directadmin/custombuild/php-5.4.35/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.35/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsfsd'
/usr/local/directadmin/custombuild/php-5.4.35/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'
/usr/local/directadmin/custombuild/php-5.4.35/ext/mysqlnd/mysqlnd_ps_codec.c:244: undefined reference to `__extendsddf'
*** [sapi/cli/php] Error code 1
*** [sapi/cgi/php-cgi] Error code 1
2 errors
 
FreeBSD affected users using EOL version of PHP 5.3 & 5.4 (it receives no bugfixes anymore, just security ones): please try CustomBuild 2.0 rev. 1177.

For CB 1.1 & 1.2 customers using FreeBSD and PHP 5.3/5.4, follow http://help.directadmin.com/item.php?id=252. Just change "./configure" to "./configure ac_cv_decimal_fp_supported=no" in custom file, and that's it :)
 
Back
Top