{"id":39202,"date":"2016-02-25T13:00:00","date_gmt":"2016-02-25T19:00:00","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=39202"},"modified":"2016-02-25T13:00:00","modified_gmt":"2016-02-25T19:00:00","slug":"php-7-is-here","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/","title":{"rendered":"PHP 7 Is Here!"},"content":{"rendered":"
\n

One of our most requested features is for PHP 7 support. \u00a0We’ve heard you loud and clear, and over the last few weeks we’ve been working to bring PHP 7 to EasyApache. \u00a0I’d like to announce that it is now available in our primary EA4 repositories.<\/p>\n

PHP 7 brings a lot of improvements to the table. One of the most notable changes are the speed improvements gained from PHPNG, the newly refactored Zend Engine in PHP 7. Some of the public benchmarks show that PHP 7 is as much as 2-3 times faster than PHP 5!<\/p>\n

\"simple-benchmark\"<\/p>\n

As an example, here’s a quick benchmark that we ran on PHP 7. \u00a0We ran this benchmark on a public, working WordPress installation running on EasyApache 4. We tested the application to see how many requests Apache can serve in 30 seconds. PHP 5.4 through PHP 5.6 all averaged between 340 and 375 hits in 30 seconds, or roughly 12 requests per second. PHP 7 served around 540 hits, which puts it around 18 requests per second, which is roughly a 30% increase in speed.\u00a0This is a fantastic result, and we’re so excited to be able to provide it to you.<\/p>\n

Other notable PHP 7 improvements include new engine exceptions, new operators and new type hints!\u00a0Also, we think that the new tie fighter operator (<=>) is pretty cool as well.<\/p>\n

There are also many deprecated SAPIS, extensions, and functions that you need to be aware of before you rush off to upgrade to the new version. If you’ve been using PHP 5, you’ll definitely want to take note of these. Two of the biggest changes include the removal of the mysql extension and ASP-style tags. They’ve been deprecated for some time, so we hope you aren’t actually using them, but this makes it official and is something to keep in mind when you consider upgrading.\u00a0You can view the full list of deprecations and changes here:\u00a0https:\/\/wiki.php.net\/rfc\/removal_of_dead_sapis_and_exts<\/a><\/p>\n

Another thing to keep in mind is that the major encoders and loaders that we provide are not compatible with PHP 7 right now. These include IonCube, SourceGuardian and ZenGuard. Once these are upgraded and compatible, we will implement and release them for your use in EasyApache 4. We maintain our complete list of available PHP options in our\u00a0PHP Options<\/a>\u00a0documentation.<\/p>\n

If you’re ready to try out PHP 7, you can simply add\u00a0ea-php70<\/code>\u00a0to your custom profiles, or run the\u00a0yum install ea-php70<\/code>\u00a0command to get the base packages.<\/p>\n

Let us know if you have any questions or experience any trouble, and we’ll be glad to assist in any way we can.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

One of our most requested features is for PHP 7 support. \u00a0We’ve heard you loud and clear, and over the last few weeks we’ve been working to bring PHP 7 to EasyApache. \u00a0I’d like to announce that it is now available in our primary EA4 repositories. PHP 7 brings a lot of improvements to the […]<\/p>\n","protected":false},"author":77,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-39202","post","type-post","status-publish","format-standard","hentry","category-products"],"acf":[],"yoast_head":"\nPHP 7 Is Here! | 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\/php-7-is-here\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP 7 Is Here! | cPanel\" \/>\n<meta property=\"og:description\" content=\"One of our most requested features is for PHP 7 support. \u00a0We’ve heard you loud and clear, and over the last few weeks we’ve been working to bring PHP 7 to EasyApache. \u00a0I’d like to announce that it is now available in our primary EA4 repositories. PHP 7 brings a lot of improvements to the […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/\" \/>\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-02-25T19:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.cpanel.com\/wp-content\/uploads\/2016\/02\/simple-benchmark-600x401.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=\"2 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\/php-7-is-here\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/\",\"name\":\"PHP 7 Is Here! | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2016-02-25T19:00:00+00:00\",\"dateModified\":\"2016-02-25T19:00:00+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP 7 Is Here!\"}]},{\"@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":"PHP 7 Is Here! | 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\/php-7-is-here\/","og_locale":"en_US","og_type":"article","og_title":"PHP 7 Is Here! | cPanel","og_description":"One of our most requested features is for PHP 7 support. \u00a0We’ve heard you loud and clear, and over the last few weeks we’ve been working to bring PHP 7 to EasyApache. \u00a0I’d like to announce that it is now available in our primary EA4 repositories. PHP 7 brings a lot of improvements to the […]","og_url":"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2016-02-25T19:00:00+00:00","og_image":[{"url":"https:\/\/blog.cpanel.com\/wp-content\/uploads\/2016\/02\/simple-benchmark-600x401.png"}],"author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/","url":"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/","name":"PHP 7 Is Here! | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2016-02-25T19:00:00+00:00","dateModified":"2016-02-25T19:00:00+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/php-7-is-here\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"PHP 7 Is Here!"}]},{"@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\/39202"}],"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=39202"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/39202\/revisions"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=39202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=39202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=39202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}