PHP Updates: PHP 5.5.15 & 5.4.31 | Blogging, Small Business, Web Design & Hosting Tips - A Small Orange

PHP Updates: PHP 5.5.15 & 5.4.31

PHP

We are pleased to announce that we have completed an update of the PHP versions available on all shared and business cloud servers to PHP versions 5.5.15 and 5.4.31. These updates contain several security and bug fixes, for more details please see the PHP.net change log notes for PHP 5.5.15 and 5.4.31.

The default PHP release on shared and business cloud servers is currently PHP 5.4 with support for PHP 5.3 and 5.5. If you would like to upgrade your site to use PHP 5.5 or require PHP 5.3 for older web applications, you can switch between any of the available PHP versions from your domains cPanel login (http://domain.com/cpanel) using the ‘Software > PHP Selector’ plugin.

phpsel

You can also control the PHP version your sites or specific paths use with a htaccess file if you prefer a more granular/advanced level of control. The below modification can be placed in an accounts public_html/.htaccess file to enable PHP 5.5 or 5.3 for the entire account or in a .htaccess of a specific directory (e.g: public_html/wordpress/.htaccess) to enable the desired PHP version under that directory tree only.

To enable PHP 5.5 or 5.3, you must add one of the following htaccess option:

AddType application/x-httpd-php55 .php

Or

AddType application/x-httpd-php53 .php

The binary path to the PHP 5.5 and 5.3 installations, should you require it for executable php scripts or cronjobs, is located at:

/usr/local/php55/bin/php

And

/usr/local/php53/bin/php

As with the existing PHP 5.4 setup, when you enable PHP 5.5 or 5.3, it will respect any custom php.ini settings you may have under your account. In addition, all standard PHP modules and extensions from the existing PHP 5.4 installation are default enabled in PHP 5.5 and 5.3 to ensure the best compatibility possible.

As always, questions or comments, we can be reached 24/7 through any of our support channels, thank you.

 

Comments are closed.

Stay Up-To-Date With ASO & Save 25%!