PHP 5.3 Now Available in EasyApache
We are currently releasing PHP 5.3 in Easyapache builds of 4932 and higher.
Here are the release notes:
[list=1][*] The following settings are no longer supported with PHP 5.3. The EA3 upgrade to 5.3.1 will comment out these settings in your php.ini file:
[list][*] zend_extension_ts[*] zend_extension_debug[*] extension_ts[*] zend.ze1_compatibility_mode[/list]
[*] If the php.ini file has no date.timezone setting, it will be given one that matches PHP's best guess about what the correct timezone is. In 5.3.1 all date functions generate warnings when the local timezone has not been explicitly specified.
[*] There is currently no version of Zend Optimizer available for PHP 5.3. According to Zend, a version of the Optimizer and Encoder that is compatabile with PHP 5.3 will be released "in the first quarter of 2010" [url=http://forums.zend.com/viewtopic.php?f=57&t=1365&start=10#p15665]Zend Forums; View topic - Zend Optimizer for Php 5.3.0[/url] It's possible that PHP scripts encoded with previous versions of Zend Guard will not work with this new version of Zend Optimizer once it is released.
[*] The PHP OpenSSL extension no longer supports OpenSSL versions before 0.9.7.
[*] PHP 5.3 introduces the E_DEPRECATED and E_USER_DEPRECATED error reporting levels. E_DEPRECATED is included in E_ALL, so many existing manipulations of the PHP error reporting level that attempt to mask warnings will fail to mask out the E_DEPRECATED messages. EasyApache will attempt to mask out E_DEPRECATED from error_reporting setting of the main system php.ini file as part of the upgrade to PHP 5.3. You are still likely to see E_DEPRECATED warnings whenever a custom php.ini is used and when legacy scripts manipulates the error_reporting level directly. You may also want to set the display_errors setting in the php.ini file to off. Note that functions marked as deprecated in PHP 5.3 will be removed entirely in PHP 6.0. Silencing the E_DEPRECATED messages should be considered a short term fix. Code that generates these messages must eventually be updated for compliance with PHP 6.0.
[*] To help deal with the migration difficulty cause by the E_DEPRECATED changes in PHP 5.3, EasyApache includes an optional patch to remove E_DEPRECATED from E_ALL. This patch is intended to be used as a short term fix while legacy code is updated to be made aware of the E_DEPRECATED error level. Applying this patch means that legacy code will not accidentally turn on E_DEPRECATED messages while attempting to silence warnings (the traditional E_ALL & ~E_WARNING setting.) This patch may be selected for inclusion in the build via the EasyApache User Interface.
[*] The following php.ini settings have been marked as deprecated in PHP 5.3. It is recommended that you disable these settings or silence deprecated warnings until you are able to upgrade so warnings will not be generated every time a PHP page is processed.
[list][*] define_syslog_variables[*] register_globals[*] register_long_arrays[*] safe_mode[*] magic_quotes_gpc[*] magic_quotes_runtime[*] magic_quotes_sybase [/list][*] The following functions have been marked as deprecated in PHP 5.3. It is recommended that you update any code which uses them or silence deprecated warnings until an upgrade is possible.
[list][*] session_register[*] session_unregister[*] session_is_registered[*] define_syslog_variables[*] split [/list][*] The ereg extension has been marked as deprecated in PHP 5.3. It is recommended that you update any code which uses this extension or silence deprecated warnings until an upgrade is possible.
[*] The mail headers patch is no longer provided with PHP 5.3. Use the mail.add_x_header php.ini directive instead.
[*] The following extensions have been removed from PHP 5.3:
[list][*] mhash[*] pspell[*] msql [/list][*] The following extensions are no longer shipped with PHP 5.3 and are now available via PECL:
[list][*] ming[*] fbsql[*] ncurses[*] fdf [/list][*] The following new extensions are available with PHP 5.3:
[list][*] phar[*] sqlite3[*] fileinfo[*] intl (requires libicu)[*] enchant (requires libenchant) [/list][*] It is recommended that the PHP based cPAddons be updated before upgrading to PHP 5.3. Each cPAddon was analyzed and, where possible, updated to ensure operation without site vistor warnings.
[*] [b]mysqlnd[/b] is currently not support or supplied with EasyApache. Please see this post for the reason: [url]http://forums.cpanel.net/617245-post14.html[/url]