- Issued:
- 2012-02-20
- Updated:
- 2012-02-20
RHBA-2012:0249 - php bug fix and enhancement update
Synopsis
php bug fix and enhancement update
Type/Severity
Bug Fix Advisory (none)
Topic
Updated php packages that fix several bugs and add one enhancement are now available for Red Hat Enterprise Linux 5.
Description
PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
This update fixes the following bugs:
-
PNG files in certain formats, which were loaded with the "gd" extension, were displayed incorrectly. This update adds support for such files and the files are now loaded correctly. (BZ#548142)
-
Connecting to an Internet Message Access Protocol (IMAP) service could fail with the following error message:
PHP Warning: imap_open(): Couldn't open stream
This happened if the server advertised support for Kerberos authentication, but the client was not configured to use Kerberos. This update adds the DISABLE_AUTHENTICATOR option for the imap_open() function, which allows to disable a specific authentication method. (BZ#552436)
-
A PHP script that is using the ODBC interfaces could enter a deadlock if the maximum execution time period expires while it is executing an SQL statement. This occurs because the execution timer uses a signal and the invoked ODBC functions are not reentrant. This update modifies the underlying code so the deadlock is less likely to occur. (BZ#594813)
-
Previously, the PHP mktime() function and some daytime functions were limited to 32-bit time stamps on 64-bit platforms due to a build configuration error. This update fixes the error and allows the use of 64-bit time stamps on 64-bit platforms. (BZ#607453)
-
If a prepared statement was unset when using PostgreSQL through the PHP Data Objects (PDO) interface, the current transaction was aborted. This caused subsequent SQL queries in the transaction to fail. With this update, the prepared statement is unset correctly and subsequent queries work as expected. (BZ#611662)
-
If a negative array index value was sent to the var_export() function, the function returned an unsigned index ID. With this update, the function has been modified to process negative array index values correctly. (BZ#695251)
This update also adds the following enhancement:
- The php package description has been improved. (BZ#572359)
All php users are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.
Solution
Before applying this update, make sure all previously-released errata relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for Power, big endian | 5 | ppc |
| Red Hat Enterprise Linux for IBM z Systems | 5 | s390x |
| Red Hat Enterprise Linux Workstation | 5 | x86_64 |
| Red Hat Enterprise Linux Workstation | 5 | i386 |
| Red Hat Enterprise Linux Server | 5 | x86_64 |
| Red Hat Enterprise Linux Server | 5 | ia64 |
| Red Hat Enterprise Linux Server | 5 | i386 |
| Red Hat Enterprise Linux Server from RHUI | 5 | x86_64 |
| Red Hat Enterprise Linux Server from RHUI | 5 | i386 |
Updated Packages
- php-5.1.6-32.el5.src.rpm
- php-common-5.1.6-32.el5.ia64.rpm
- php-imap-5.1.6-32.el5.ia64.rpm
- php-gd-5.1.6-32.el5.i386.rpm
- php-5.1.6-32.el5.x86_64.rpm
- php-dba-5.1.6-32.el5.s390x.rpm
- php-pdo-5.1.6-32.el5.s390x.rpm
- php-cli-5.1.6-32.el5.s390x.rpm
- php-odbc-5.1.6-32.el5.x86_64.rpm
- php-dba-5.1.6-32.el5.x86_64.rpm
- php-dba-5.1.6-32.el5.i386.rpm
- php-bcmath-5.1.6-32.el5.i386.rpm
- php-common-5.1.6-32.el5.ppc.rpm
- php-mbstring-5.1.6-32.el5.x86_64.rpm
- php-xmlrpc-5.1.6-32.el5.ia64.rpm
- php-soap-5.1.6-32.el5.s390x.rpm
- php-devel-5.1.6-32.el5.i386.rpm
- php-ncurses-5.1.6-32.el5.i386.rpm
- php-xml-5.1.6-32.el5.i386.rpm
- php-gd-5.1.6-32.el5.x86_64.rpm
- php-soap-5.1.6-32.el5.x86_64.rpm
- php-devel-5.1.6-32.el5.ia64.rpm
- php-odbc-5.1.6-32.el5.s390x.rpm
- php-xmlrpc-5.1.6-32.el5.x86_64.rpm
- php-soap-5.1.6-32.el5.ia64.rpm
- php-bcmath-5.1.6-32.el5.ia64.rpm
- php-pdo-5.1.6-32.el5.ppc.rpm
- php-mysql-5.1.6-32.el5.x86_64.rpm
- php-common-5.1.6-32.el5.x86_64.rpm
- php-devel-5.1.6-32.el5.x86_64.rpm
- php-pdo-5.1.6-32.el5.ia64.rpm
- php-ncurses-5.1.6-32.el5.ia64.rpm
- php-odbc-5.1.6-32.el5.i386.rpm
- php-bcmath-5.1.6-32.el5.s390x.rpm
- php-odbc-5.1.6-32.el5.ppc.rpm
- php-snmp-5.1.6-32.el5.s390x.rpm
- php-pgsql-5.1.6-32.el5.ia64.rpm
- php-cli-5.1.6-32.el5.ppc.rpm
- php-xmlrpc-5.1.6-32.el5.i386.rpm
- php-soap-5.1.6-32.el5.ppc.rpm
- php-imap-5.1.6-32.el5.s390x.rpm
- php-common-5.1.6-32.el5.i386.rpm
- php-ncurses-5.1.6-32.el5.ppc.rpm
- php-devel-5.1.6-32.el5.s390x.rpm
- php-xmlrpc-5.1.6-32.el5.s390x.rpm
- php-mysql-5.1.6-32.el5.ppc.rpm
- php-pgsql-5.1.6-32.el5.i386.rpm
- php-cli-5.1.6-32.el5.x86_64.rpm
- php-xml-5.1.6-32.el5.ia64.rpm
- php-cli-5.1.6-32.el5.ia64.rpm
- php-ldap-5.1.6-32.el5.x86_64.rpm
- php-snmp-5.1.6-32.el5.ppc.rpm
- php-devel-5.1.6-32.el5.ppc.rpm
- php-ncurses-5.1.6-32.el5.x86_64.rpm
- php-ldap-5.1.6-32.el5.ia64.rpm
- php-mbstring-5.1.6-32.el5.ia64.rpm
- php-xml-5.1.6-32.el5.x86_64.rpm
- php-snmp-5.1.6-32.el5.i386.rpm
- php-5.1.6-32.el5.s390x.rpm
- php-5.1.6-32.el5.ia64.rpm
- php-imap-5.1.6-32.el5.i386.rpm
- php-xml-5.1.6-32.el5.s390x.rpm
- php-bcmath-5.1.6-32.el5.ppc.rpm
- php-5.1.6-32.el5.i386.rpm
- php-mbstring-5.1.6-32.el5.s390x.rpm
- php-imap-5.1.6-32.el5.ppc.rpm
- php-xml-5.1.6-32.el5.ppc.rpm
- php-gd-5.1.6-32.el5.s390x.rpm
- php-mysql-5.1.6-32.el5.s390x.rpm
- php-pdo-5.1.6-32.el5.x86_64.rpm
- php-dba-5.1.6-32.el5.ia64.rpm
- php-ldap-5.1.6-32.el5.ppc.rpm
- php-gd-5.1.6-32.el5.ia64.rpm
- php-odbc-5.1.6-32.el5.ia64.rpm
- php-ncurses-5.1.6-32.el5.s390x.rpm
- php-pgsql-5.1.6-32.el5.ppc.rpm
- php-ldap-5.1.6-32.el5.s390x.rpm
- php-mysql-5.1.6-32.el5.ia64.rpm
- php-xmlrpc-5.1.6-32.el5.ppc.rpm
- php-cli-5.1.6-32.el5.i386.rpm
- php-dba-5.1.6-32.el5.ppc.rpm
- php-pgsql-5.1.6-32.el5.x86_64.rpm
- php-gd-5.1.6-32.el5.ppc.rpm
- php-ldap-5.1.6-32.el5.i386.rpm
- php-snmp-5.1.6-32.el5.ia64.rpm
- php-mysql-5.1.6-32.el5.i386.rpm
- php-snmp-5.1.6-32.el5.x86_64.rpm
- php-pdo-5.1.6-32.el5.i386.rpm
- php-mbstring-5.1.6-32.el5.i386.rpm
- php-bcmath-5.1.6-32.el5.x86_64.rpm
- php-5.1.6-32.el5.ppc.rpm
- php-mbstring-5.1.6-32.el5.ppc.rpm
- php-common-5.1.6-32.el5.s390x.rpm
- php-pgsql-5.1.6-32.el5.s390x.rpm
- php-imap-5.1.6-32.el5.x86_64.rpm
- php-soap-5.1.6-32.el5.i386.rpm
Fixes
- This content is not included.BZ - 548142
- This content is not included.BZ - 552436
- This content is not included.BZ - 572359
- This content is not included.BZ - 607453
- This content is not included.BZ - 695251
CVEs
(none)
References
(none)
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.