{"id":40172,"date":"2016-04-08T13:00:00","date_gmt":"2016-04-08T18:00:00","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=40172"},"modified":"2016-04-08T13:00:00","modified_gmt":"2016-04-08T18:00:00","slug":"v56-and-the-internal-perl-update-5-22","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/","title":{"rendered":"cPanel & WHM 56 and the Internal Perl upgrade: 5.22"},"content":{"rendered":"

In cPanel & WHM version 56 we\u00a0updated\u00a0the internal version (and only the internal version) of Perl from 5.14 to 5.22. This has a couple of potential consequences\u00a0that we want to make sure our users are\u00a0aware of.<\/p>\n

Memory use, and dormant mode processes<\/h1>\n

Memory use is always a concern in server environments, and we have worked very hard to ensure that the upgrades have had minimal effect on your environment. With our first\u00a0release of version 56 to the EDGE tier it was immediately\u00a0clear: systems running v56 (with Perl 5.22) were consuming slightly more memory than similar systems running v54 (with Perl 5.14).\u00a0We have taken steps to help bring\u00a0the\u00a0memory footprint of v56 closer to what memory consumption in the same environments using v54, ensuring\u00a0it will have less of an impact on our\u00a0end users. In addition to those steps, we have expanded and improved our use of\u00a0dormant mode<\/a>\u00a0in v56, which you can read about in another post on the\u00a0cPanel blog<\/a>.<\/p>\n

Compatibility, and CPAN Perl Modules<\/h1>\n

Upgrades across versions of programming languages does require some work on the behalf of 3rd party application developers that build plugins for cPanel & WHM. Plugin developers should be aware of the upgrade already, so most users won’t see any problems at all. In the unlikely event that a 3rd party application that uses Perl modules installed through\u00a0cPanel’s internal CPAN installer, they may need to have those modules reinstalled after the upgrade to v56 to ensure compatibility after the Perl version change.<\/p>\n

If you want to check to see what version of Perl is being used by cPanel right now, you can check that with the command used below:<\/p>\n

[~] # \/usr\/local\/cpanel\/3rdparty\/bin\/perl -v |grep version\n This is perl 5, version 14, subversion 4 (v5.14.4) built for x86_64-linux-64int\n[~] #<\/pre>\n

After the upgrade to cPanel & WHM v56, you will see this:<\/p>\n

[~] # \/usr\/local\/cpanel\/3rdparty\/bin\/perl -v |grep version\n This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-64int\n[~] #<\/pre>\n

If your third party plugin or addon starts having problems after the upgrade, you may need to reinstall the application or any related Perl modules. It’s also possible that the application will have errors related to code compatibility with the updated version of Perl. Either way, the quickest way to a fix will be to contact the provider of your third party application.<\/p>\n

A Word of Caution, and Retaining Perl 5.14<\/h1>\n

Though most developers should be upgrading their plugins to remain compatible, you may wish to retain Perl 5.14 on your server during your upgrade to v56. As a root level system administrator you can choose to retain Perl 5.14 on your system by running the below command prior to the upgrade.\u00a0Please do be aware that\u00a0retaining Perl version 5.14 on your server\u00a0will prevent you from being able to upgrade to v58 and beyond<\/span>.<\/strong><\/p>\n

\/usr\/local\/cpanel\/scripts\/update_local_rpm_versions --add target_settings.perl514 installed<\/pre>\n

After the upgrade you will see Perl 5.14 is still on the server, but please do note that if you are doing this to allow an out of date plugin to continue to function, you will need to adjust the files of the plugin to reference the appropriate binary:<\/p>\n

\n
[~] # \/usr\/local\/cpanel\/3rdparty\/bin\/perl514 -v |grep version \nThis is perl 5, version 14, subversion 4 (v5.14.4) built for x86_64-linux-64int\n[~] #<\/pre>\n

You can also install Perl 5.14 after the upgrade by running the two commands below. I want to again mention that\u00a0retaining Perl version 5.14 on your server\u00a0will block upgrades to v58,\u00a0<\/strong>and that v58 will not allow you to install Perl 5.14 for cPanel.<\/p>\n

\/usr\/local\/cpanel\/scripts\/update_local_rpm_versions --add target_settings.perl514 installed\n\/scripts\/check_cpanel_rpms --fix<\/pre>\n

If you want to revert that change, and allow your server the ability to upgrade to v58 once it is released, use this command:<\/p>\n<\/div>\n

\n
\/usr\/local\/cpanel\/scripts\/update_local_rpm_versions --remove target_settings.perl514<\/pre>\n

Developer resources<\/h1>\n

It is the responsibility of plugin or addon developers to test their applications on the newest version of cPanel & WHM. As a plugin developer if there is a module that you need that we are currently not shipping with cPanel, letting us know will increase the liklihood that we include it for you in future version updates.\u00a0If you are just getting started the best place to look for help is in\u00a0our\u00a0Quickstart Guide<\/a>.<\/p>\n

If you are an existing developer, cPanel offers you access to the EDGE version of cPanel, and can provide you with a development license. In addition, you can keep abreast of all of the changes related to new versions of cPanel & WHM by signing up for our development-related mailing lists. If you aren’t already a member of those mailing lists, reach out to me, and I’ll get you signed up!<\/p>\n

benny@cpanel.net<\/a><\/p>\n

@cPaneldev<\/a><\/p>\n<\/div>\n

<\/div>\n","protected":false},"excerpt":{"rendered":"

In cPanel & WHM version 56 we\u00a0updated\u00a0the internal version (and only the internal version) of Perl from 5.14 to 5.22. This has a couple of potential consequences\u00a0that we want to make sure our users are\u00a0aware of. Memory use, and dormant mode processes Memory use is always a concern in server environments, and we have worked […]<\/p>\n","protected":false},"author":77,"featured_media":64529,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-40172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products"],"acf":[],"yoast_head":"\ncPanel & WHM 56 and the Internal Perl upgrade: 5.22 | cPanel<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"cPanel & WHM 56 and the Internal Perl upgrade: 5.22 | cPanel\" \/>\n<meta property=\"og:description\" content=\"In cPanel & WHM version 56 we\u00a0updated\u00a0the internal version (and only the internal version) of Perl from 5.14 to 5.22. This has a couple of potential consequences\u00a0that we want to make sure our users are\u00a0aware of. Memory use, and dormant mode processes Memory use is always a concern in server environments, and we have worked […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/\" \/>\n<meta property=\"og:site_name\" content=\"cPanel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cpanel\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-08T18:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2016\/03\/2016-03-31_1103.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1159\" \/>\n\t<meta property=\"og:image:height\" content=\"556\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"cPanel Community\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cPanel\" \/>\n<meta name=\"twitter:site\" content=\"@cPanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cPanel Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/\",\"name\":\"cPanel & WHM 56 and the Internal Perl upgrade: 5.22 | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2016-04-08T18:00:00+00:00\",\"dateModified\":\"2016-04-08T18:00:00+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"cPanel & WHM 56 and the Internal Perl upgrade: 5.22\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\",\"url\":\"https:\/\/devel.www.cpanel.net\/\",\"name\":\"cPanel\",\"description\":\"Hosting Platform of Choices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devel.www.cpanel.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\",\"name\":\"cPanel Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"caption\":\"cPanel Community\"},\"description\":\"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.\",\"sameAs\":[\"https:\/\/cpanel.net\"],\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"cPanel & WHM 56 and the Internal Perl upgrade: 5.22 | cPanel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/","og_locale":"en_US","og_type":"article","og_title":"cPanel & WHM 56 and the Internal Perl upgrade: 5.22 | cPanel","og_description":"In cPanel & WHM version 56 we\u00a0updated\u00a0the internal version (and only the internal version) of Perl from 5.14 to 5.22. This has a couple of potential consequences\u00a0that we want to make sure our users are\u00a0aware of. Memory use, and dormant mode processes Memory use is always a concern in server environments, and we have worked […]","og_url":"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2016-04-08T18:00:00+00:00","og_image":[{"width":1159,"height":556,"url":"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2016\/03\/2016-03-31_1103.png","type":"image\/png"}],"author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/","url":"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/","name":"cPanel & WHM 56 and the Internal Perl upgrade: 5.22 | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2016-04-08T18:00:00+00:00","dateModified":"2016-04-08T18:00:00+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/v56-and-the-internal-perl-update-5-22\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"cPanel & WHM 56 and the Internal Perl upgrade: 5.22"}]},{"@type":"WebSite","@id":"https:\/\/devel.www.cpanel.net\/#website","url":"https:\/\/devel.www.cpanel.net\/","name":"cPanel","description":"Hosting Platform of Choices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devel.www.cpanel.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8","name":"cPanel Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","caption":"cPanel Community"},"description":"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.","sameAs":["https:\/\/cpanel.net"],"url":"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/40172"}],"collection":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/comments?post=40172"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/40172\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media\/64529"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=40172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=40172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=40172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}