Path to PHP 5.3

We will be retiring PHP 5.2.9 and upgrading to PHP 5.3.22 on April 1 2013 00:00 AM CDT.

Development of PHP 5.2.x was stopped in 2008 and since then there has only been few security patches released for 5.2.x. Last security patch for php 5.2.x was released some where in April 2010.  PHP 5.3.0 was released on June 30 2009 with some major bug fixes, security patches and new PHP functions.  Unfortunately, newer PHP version will break some very old scripts and may produce errors.  These errors can be fixed by simply upgrading your scripts to latest version.  All newer version of wordpress, joomla, vbulltein, popular shopping cart software released after 2009/2010 support PHP 5.3.

If upgrading your websites/scripts is not an option, please let us know by emailing or creating support ticket at, before April 1 2013 with name of domain in subject line.

In PHP 5.3 there are a number of deprecated functions and INI calls. Please read the following URL very carefully and check your custom code for any of the functions on this webpage and update your code at earliest.

The PHP 5.3 deprecated function list is here:

here is a local list for your ease of viewing:

Deprecated functions:

call_user_method() (use call_user_func() instead)
call_user_method_array() (use call_user_func_array() instead)
ereg() (use preg_match() instead)
ereg_replace() (use preg_replace() instead)
eregi() (use preg_match() with the ‘i’ modifier instead)
eregi_replace() (use preg_replace() with the ‘i’ modifier instead)
set_magic_quotes_runtime() and its alias, magic_quotes_runtime()
session_register() (use the $_SESSION superglobal instead)
session_unregister() (use the $_SESSION superglobal instead)
session_is_registered() (use the $_SESSION superglobal instead)
set_socket_blocking() (use stream_set_blocking() instead)
split() (use preg_split() instead)
spliti() (use preg_split() with the ‘i’ modifier instead)
mysql_db_query() (use mysql_select_db() and mysql_query() instead)
mysql_escape_string() (use mysql_real_escape_string() instead)
Passing locale category names as strings is now deprecated. Use the LC_* family of constants instead.
The is_dst parameter to mktime(). Use the new timezone handling functions instead.

Deprecated features:

Assigning the return value of new by reference is now deprecated.
Call-time pass-by-reference is now deprecated.

Please feel free to create help ticket at with your queries or live chat with us on

Thank you for choosing CPHosting.