{"id":32933,"date":"2017-12-01T11:09:15","date_gmt":"2017-12-01T09:09:15","guid":{"rendered":"https:\/\/blog.superhosting.bg?p=32933"},"modified":"2022-06-02T17:38:41","modified_gmt":"2022-06-02T14:38:41","slug":"php-7-2-available-on-all-servers-superhosting","status":"publish","type":"post","link":"https:\/\/blog.superhosting.bg\/en\/php-7-2-available-on-all-servers-superhosting.html","title":{"rendered":"PHP 7.2 Offers Modern Cryptography for More Secure Web Projects"},"content":{"rendered":"<p>The new <a title=\"PHP 7.2.0 Release Announcement | php.net\" href=\"https:\/\/www.php.net\/releases\/7_2_0.php\" target=\"_blank\" rel=\"noopener\">PHP 7.2<\/a> comes with enhanced security thanks to the supported modern cryptography. Language improvements are even greater this time since 7.2 arrives with numerous enhancements of the existing features and functions.<\/p>\n<div class=\"tipsupport04\"><strong>PHP 7.2 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>.<br \/>\n<\/b><\/strong><\/div>\n<h3 class=\"h4-gray01\"><strong>What\u2019s new in PHP 7.2?<\/strong><\/h3>\n<ul>\n<li>The&nbsp;cryptography extension <a title=\"PHP RFC: Make Libsodium a Core Extension | wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/libsodium\" target=\"_blank\" rel=\"noopener\">libsodium<\/a> is adopted in the PHP core as it allows access to the <a title=\"Introduction to Libsodium Development in PHP | paragonie.com\" href=\"https:\/\/paragonie.com\/book\/pecl-libsodium\/read\/00-intro.md#what-is-libsodium\" target=\"_blank\" rel=\"noopener\">Libsodium<\/a> system library. Libsodium is a software tool for encryption, decryption, signing, password hashing and more. Now the new, <a title=\"Password Hashing Competition | password-hashing.net\" href=\"https:\/\/www.password-hashing.net\/\" target=\"_blank\" rel=\"noopener\">recommendatory standard<\/a> <a title=\"Argon2 | Wikipedia\" href=\"https:\/\/en.wikipedia.org\/wiki\/Argon2\" target=\"_blank\" rel=\"noopener\">Argon2i<\/a> has been <a title=\"PHP RFC: Argon2 Password Hash | wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/argon2_password_hash\" target=\"_blank\" rel=\"noopener\">added<\/a> to the hash algorithms.<\/li>\n<li>PHP extensions are loaded now <a title=\"PHP RFC: Allow loading extensions by name | wiki.php.net\/rfc\" href=\"https:\/\/wiki.php.net\/rfc\/load-ext-by-name\" target=\"_blank\" rel=\"noopener\">by their names<\/a>, but not the respective file names. Until recently you needed to add the \u201eextension=phpmodulefile.so\u201c line to php.ini, but from now on this is going to look that way: \u201eextension=phpmodulename\u201c.<\/li>\n<li><a title=\"PHP RFC: Deprecations for PHP 7.2 | wiki.php.net\/rfc\" href=\"https:\/\/wiki.php.net\/rfc\/deprecations_php_7_2\" target=\"_blank\" rel=\"noopener\">Deprecated PHP 7.2<\/a> functions and features:\n<ul>\n<li><a title=\"PHP RFC: Deprecate and Remove Bareword (Unquoted) Strings | wiki.php.net\" href=\"https:\/\/wiki.php.net\/rfc\/deprecate-bareword-strings\" target=\"_blank\" rel=\"noopener\">Unquoted Strings<\/a>&nbsp;&#8211; from notifications in case of unquoted token through warning in PHP 7.2 to an error message for non-executed code in PHP 8;<\/li>\n<li>&nbsp;__autoload, $php_errormsg, create_function(),&nbsp;each(), etc.<\/li>\n<\/ul>\n<\/li>\n<li>And <a title=\"PHP 7.2 Implemented RFC | wiki.php.net\/rfc#php_72\" href=\"https:\/\/wiki.php.net\/rfc#php_72\" target=\"_blank\" rel=\"noopener\">more<\/a>&nbsp;<a title=\"PHP 7.2 - New features\" href=\"https:\/\/www.php.net\/manual\/en\/migration72.new-features.php\" target=\"_blank\" rel=\"noopener\">improvements<\/a>,&nbsp;<a title=\"PHP 7.2 - New functions\" href=\"https:\/\/www.php.net\/manual\/en\/migration72.new-functions.php\" target=\"_blank\" rel=\"noopener\">features<\/a>,&nbsp;<a title=\"PHP 7.2 - Backward incompatible changes | php.net\" href=\"https:\/\/www.php.net\/manual\/en\/migration72.incompatible.php\" target=\"_blank\" rel=\"noopener\">incompatibilities<\/a> with older versions, <a title=\"PHP 7.2 - Other | php.net\" href=\"https:\/\/www.php.net\/manual\/en\/migration72.other-changes.php\" target=\"_blank\" rel=\"noopener\">etc<\/a>.<\/li>\n<\/ul>\n<h3 class=\"h4-gray01\"><strong>Are WordPress and Joomla! Compatible with PHP 7.2?<\/strong><\/h3>\n<p>The new <a title=\"WordPress 4.9 Comes with Major Customizer Improvements and Widget Updates | Blog SuperHosting.BG\" href=\"https:\/\/blog.superhosting.bg\/en\/wordpress-4-9.html\">WordPress 4.9<\/a> is fully compatible with PHP 7.2. Before upgrading your website to a newer PHP version, make sure that your website along with the theme and plugins used already support 7.2. If a certain plugin is not PHP 7.2 compatible you might need to wait for an upgrade.<\/p>\n<p>Although there is still no official information on Joomla!, newer 3.x (3.8, 3.9) versions are expected to fully support PHP 7.2. We recommend that you first test in a staging environment to make sure that your Joomla! version and all its modules work properly with PHP 7.2. If everything seems to function normally then enable PHP 7.2 for the real website.<\/p>\n<p>We remind you that&nbsp;PHP 7.0 is fully supported since Joomla! 3.5, so if you are using this or a later version you can enable PHP 7.0 or 7.1 through cPanel -&gt; PHP Manager.<\/p>\n<h3 class=\"h4-gray01\"><strong>Enabling PHP 7.2 with just a click in PHP Manager<\/strong><\/h3>\n<p>If you are using&nbsp;<a title=\"All SSD Hosting with Unlimited Bandwidth and Overall Security! | SuperHosting.BG\" href=\"https:\/\/en.superhosting.bg\/web-hosting-compare-hosting-plans.php\" target=\"_blank\" rel=\"noopener\">shared hosting<\/a>&nbsp;or&nbsp;<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.2 for the whole hosting account or only for a specific directory by going to -&gt; <a title=\"PHP Manager by SuperHosting | Help SuperHosting.BG\" href=\"https:\/\/help.superhosting.bg\/en\/php-manager-by-superhosting.html\" target=\"_blank\" rel=\"noopener\">PHP Manager by SuperHosting<\/a>.<\/p>\n<div class=\"tipsupport05\">Before switching to 7.2 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.2 and notice that a certain functionality does not work, you can always downgrade to an older PHP version from <a title=\"PHP Manager by SuperHosting | Help SuperHosting.BG\" href=\"https:\/\/help.superhosting.bg\/en\/php-manager-by-superhosting.html\" target=\"_blank\" rel=\"noopener\">PHP Manager<\/a> that is available in cPanel.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Language improvements are even greater this time since 7.2 arrives with numerous enhancements of the existing features and functions.<\/p>\n","protected":false},"author":16,"featured_media":66566,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[110],"tags":[212],"class_list":{"0":"post-32933","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\/32933","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=32933"}],"version-history":[{"count":9,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/32933\/revisions"}],"predecessor-version":[{"id":66567,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/posts\/32933\/revisions\/66567"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/media\/66566"}],"wp:attachment":[{"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/media?parent=32933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/categories?post=32933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.superhosting.bg\/en\/wp-json\/wp\/v2\/tags?post=32933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}