cPanel® Blog

Internal PHP Upgrade

In cPanel & WHM software version 11.42, we will upgrade our internal PHP to version 5.4. This version offers dramatic improvements in performance, introduces new features, and removes deprecated functions. For more information about the changes you can expect from PHP 5.4,  see the PHP 5.4.0 Release Announcement.

If you would like to test our new PHP 5.4 installation, it is now available through a special “next” build. This build should only be used on testing servers because it is unsupported and you will be unable to downgrade to a previous version of cPanel & WHM. We will explain how to get this build via our Plugin Devs mailing list. To subscribe to this mailing list, please contact our Integration Developer, Ruth Bavousett.

Below, we have outlined how this internal PHP upgrade could impact your cPanel customizations so that you can prepare for these changes now.

Removed PHP directives

Several features are removed in PHP 5.4, which could cause compatibility issues. The following core php.ini directives will no longer be available in cPanel & WHM version 11.42:

  • gpc_order
  • magic_quotes
  • register_globals
  • safemode
  • y2k_compliance

If you are using the LiveAPI PHP Class to customize cPanel, then you should insure that your customizations will be compatible with the new version of PHP. You should also review and test your customizations if you use PHP Plugin pages, the deprecated .cpphp or .phpcp tags, or cPanel’s internal PHP in any way.

Upgraded RPMs

Because the following PEAR modules are bundled with PHP 5.4, they will not ship as separate RPMs when you upgrade to cPanel & WHM version 11.42:

  • Archive_Tar
  • Console_Getopt
  • PEAR
  • Structures_Graph
  • XML_Util

We will update all of our other PEAR and PECL RPMs to use PHP version 5.4. For a full list of RPMs to be shipped with cPanel’s internal PHP, see our cPanel PHP documentation.

  • thank you..
    آپلود عکس

  • I want to Remove my Comments through C-panel, Can you plz inform me about this.

  • bruceyboy86

    I’m updating a Joomla website on a server running cPanel and WHM, I need a newer version of PHP to update the website. Is there a way I can update the PHP manually? If not, when is the automatic update to PHP version 5.4?

    • Todd Rinaldo

      Thanks for inquiring. If I understand what you’re asking, You’re asking about a service served off of your website. if so, PHP 5.4 is already available. You should inquire with your server operator.

  • Andrei


    This will affect all cPanel users ? I’m a bit puzzled by this “internal PHP” expression. We run several WHM servers with different versions of PHP (from 5.2 to 5.4).

    How will this affect me ?

    • Todd Rinaldo

      Internal PHP is not used in any way by anything apache serves.cPanel ships with an

      internal PHP, which is used in WHM and cPanel by third party code. People concerned with this are those who have coded php pages as addons inside cPanel.

      An old name for this PHP was “cpphp” which we’re trying to avoid using since it was a confusing term.