{"id":29985,"date":"2016-12-09T16:58:01","date_gmt":"2016-12-09T14:58:01","guid":{"rendered":"https:\/\/blog.superhosting.bg\/en\/?p=29985"},"modified":"2022-04-02T11:08:03","modified_gmt":"2022-04-02T08:08:03","slug":"php-7-1-available-on-all-servers-superhosting","status":"publish","type":"post","link":"https:\/\/blog.superhosting.bg\/en\/php-7-1-available-on-all-servers-superhosting.html","title":{"rendered":"PHP 7.1 is Already Available at SuperHosting.BG!"},"content":{"rendered":"<p>The main version of <a title=\"The New Major PHP Version is Released \u2013 7.0 | Blog SuperHosting.BG\" href=\"https:\/\/blog.superhosting.bg\/en\/php-7-superhosting.html\">PHP 7.0<\/a> was released a year ago. It laid the foundations for future PHP development (<a title=\"PHPNG (next generation) - wiki.php.net\" href=\"https:\/\/wiki.php.net\/phpng\" target=\"_blank\" rel=\"noopener\">PHPNG<\/a>) by adding outstanding features, enhanced performance, high speed and reduced memory usage.<\/p>\n<p>A few days ago <a title=\"PHP 7.1.0 Release Announcement - php.net\" href=\"https:\/\/www.php.net\/releases\/7_1_0.php\" target=\"_blank\" rel=\"noopener\">PHP 7.1<\/a> was released. This is the first version from the PHP 7.x series as it contains many <a title=\"PHP 7.1 - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc#php_71\" target=\"_blank\" rel=\"noopener\">improvements<\/a> and <a title=\"New features - php.net\" href=\"https:\/\/www.php.net\/manual\/en\/migration71.new-features.php\" target=\"_blank\" rel=\"noopener\">new features<\/a>, but also a few incompatibilities with older versions.<\/p>\n<h3 class=\"h3tre18\">What&#8217;s new in PHP 7.1?<\/h3>\n<p>Here are some of the most remarkable improvements and features:<\/p>\n<ul>\n<li><a title=\"Nullable Types - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/nullable_types\" target=\"_blank\" rel=\"noopener\">Nullable<\/a> types; (additional option for parameters or function returns to be of NULL);<\/li>\n<li><a title=\"Void Return Type - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/void_return_type\" target=\"_blank\" rel=\"noopener\">Void<\/a>\u00a0return type \u00a0(declares that this function doesn&#8217;t return any value, including \u2018NULL\u2019);<\/li>\n<li><a title=\"Iterable - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/iterable\" target=\"_blank\" rel=\"noopener\">Iterable<\/a> pseudo-type;<\/li>\n<li><a title=\"Support Class Constant Visibility - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/class_const_visibility\" target=\"_blank\" rel=\"noopener\">Class constant visibility modifiers<\/a>\u00a0&#8211; make class-constants (such as private, protected, public) visible;<\/li>\n<li><a title=\"Square bracket syntax for array destructuring assignment - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/short_list_syntax\" target=\"_blank\" rel=\"noopener\">Square bracket syntax for list()<\/a>\u00a0&#8211; is a new syntax for list() (with [] syntax);<\/li>\n<li>improved method for catching exceptions (<a title=\"Catching Multiple Exception Types - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/multiple-catch\" target=\"_blank\" rel=\"noopener\">Catching Multiple Exception Types<\/a>);<\/li>\n<li><a title=\"Deprecated features in PHP 7.1.x - php.net\" href=\"https:\/\/www.php.net\/manual\/en\/migration71.deprecated.php\" target=\"_blank\" rel=\"noopener\">Deprecated<\/a> features:\n<ul>\n<li><a title=\"Deprecate (then Remove) Mcrypt - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/mcrypt-viking-funeral\" target=\"_blank\" rel=\"noopener\">Mcrypt<\/a>;<\/li>\n<li>The eval option for\u00a0 <a title=\"Deprecate mb_ereg_replace eval option - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/deprecate_mb_ereg_replace_eval_option\" target=\"_blank\" rel=\"noopener\">mb_ereg_replace ()<\/a>\u00a0and mb_eregi_replace();<\/li>\n<\/ul>\n<\/li>\n<li><a title=\"PHP 7.1 - wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc#php_71\" target=\"_blank\" rel=\"noopener\">and many more<\/a>.<\/li>\n<\/ul>\n<h3 class=\"h3tre18\">Activating PHP 7.1<\/h3>\n<div class=\"tipsupport04\"><strong>PHP 7.1 is supported for all hosting services offered by <b><a title=\"SuperHosting.BG\" href=\"https:\/\/en.superhosting.bg\" target=\"_blank\" rel=\"noopener\">SuperHosting.BG<\/a>.<\/b><\/strong><\/div>\n<p>If you are using the <a title=\"Hosting Plans - SuperHosting.BG\" href=\"https:\/\/en.superhosting.bg\/web-hosting-compare-hosting-plans.php\" target=\"_blank\" rel=\"noopener\">shared hosting<\/a> or <a title=\"Managed VPS - SuperHosting.BG\" href=\"https:\/\/en.superhosting.bg\/web-hosting-common-managed-vps.php\" target=\"_blank\" rel=\"noopener\">Managed VPS<\/a>, you can enable PHP 7.1 in cPanel -&gt; PHP Manager by SuperHosting.<\/p>\n<p>You can also enable a different PHP version for a specific directory by <a title=\"How to Change The PHP Version? | Help SuperHosting.BG\" href=\"https:\/\/help.superhosting.bg\/en\/php5-linux-hosting.html\" target=\"_blank\" rel=\"noopener\">modifying the .htaccess file<\/a>.<\/p>\n<p>Customers using <a title=\"Virtual Private Servers - SuperHosting.BG\" href=\"https:\/\/en.superhosting.bg\/web-hosting-page-servers-vps.php\" target=\"_blank\" rel=\"noopener\">VPS<\/a>, <a title=\"Cloud Services - SuperHosting.BG\" href=\"https:\/\/en.superhosting.bg\/web-hosting-page-servers-vps.php\" target=\"_blank\" rel=\"noopener\">Cloud VPS<\/a> or <a title=\"Dedicated Servers - SuperHosting.BG\" href=\"https:\/\/en.superhosting.bg\/web-hosting-page-servers-dedicated.php\" target=\"_blank\" rel=\"noopener\">dedicated server<\/a> may install PHP 7.1 manually.<\/p>\n<p>For the time being Joomla! and Drupal have not yet officially announced if they will support the new PHP version. This will probably happen when their next versions are released. WordPress 4.6 <a title=\"WordPress 4.6 isn't compatible with PHP 7.1 but WordPress 4.7 will be - core.trac.wordpress.org\" href=\"https:\/\/core.trac.wordpress.org\/ticket\/37772\" target=\"_blank\" rel=\"noopener\">is not PHP 7.1<\/a> compatible but the <a title=\"WordPress 4.7 Enables You to Switch Languages in Administration and Offers Video Headers on Home Page | Blog SuperHosting.BG\" href=\"https:\/\/blog.superhosting.bg\/en\/wordpress-4-7-sarah-vaughan.html\">new 4.7<\/a> version \u00a0is fully compatible.<\/p>\n<p>Before switching to 7.1 you would better make sure that your website along with the theme and plugins used can properly work with the latest PHP version. If you have already enabled 7.1 and notice that \u0430 certain functionality does not work, you can always downgrade to an older PHP version from PHP Manager by SuperHosting that is available in your cPanel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before switching to PHP 7.1 it is advisable to check whether your site, with the theme and plugins, works correctly with this new PHP version.<\/p>\n","protected":false},"author":16,"featured_media":53983,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[110],"tags":[212],"class_list":{"0":"post-29985","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-superhosting-technology-en","8":"tag-improvements"},"aioseo_notices":[],"modified_by":"\u041c\u0430\u0434\u043b\u0435\u043d\u0430 \u041c\u0435\u0442\u043e\u0434\u0438\u0435\u0432\u0430","post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/29985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/comments?post=29985"}],"version-history":[{"count":6,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/29985\/revisions"}],"predecessor-version":[{"id":65443,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/29985\/revisions\/65443"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/media\/53983"}],"wp:attachment":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/media?parent=29985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/categories?post=29985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/tags?post=29985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}