PHP Development Page

What is PHP?

JasmineDesign PHP Elephant

PHP is a popular general-purpose scripting language that is especially suited to web development that was created in by Rasmus Lerdorf.

PHP originally stood for Personal Home Page but came to mean PHP: Hypertext Preprocessor.

PHP is a scripting language, as opposed to a compiled language.

Advice

We would strongly recommend making sure your web host offers version 7.1 or above. Also make sure you update to 7.1 or above if you are running on an older version.

Moving to PHP 7.0 should be as painless as possible but it does have a few backward incompatible changes, so don't delay updating. A good guide for migrating from Migrating from PHP 5.6.x to PHP 7.0.x to get you updated.

Moving to a PHP 7.X version will bring major speed improvements.

Always make sure you keep upto date with the latest released version, as this will bring security enhancements.

If your current web hosting company is running PHP 5.6, now is a good time to ask them about their plans to move to PHP 7.

PHP versions released

Current 7.3 version

New PHP Version: 7.3.10

All PHP 7.3 users are encouraged to upgrade to this version.

ChangeLog - Download

Current 7.2 version

New PHP Version: 7.2.23

All PHP 7.2 users are encouraged to upgrade to this version.

ChangeLog - Download

Migrating from PHP 7.1.x to PHP 7.2.x, Guides are also available for lower versions on the page aswell.

Current 7.1 version

New PHP Version: 7.1.32

All PHP 7.1 users are encouraged to upgrade to this version.

This release marks the second point release for the 7.x series and contains numerous improvements and new features as listed here or in What's New and Exciting in PHP 7.1? by Sitepoint.

ChangeLog - Download

Migrating from PHP 7.0.x to PHP 7.1.x, Guides are also available for lower versions on the page aswell.

Current 7.0 version

New PHP Version: 7.0.33

This is a security focused release with several security bugs being fixed with its release. All PHP 7.0 users are encouraged to upgrade to this version.

PHP 7.0.0 comes with a new version of the Zend Engine, with numerous improvements and new features. But for us the factor that stands out is the Improved performance: PHP 7 is up to twice as fast as PHP 5.6

ChangeLog - Download

Migrating from PHP 5.6.x to PHP 7.0.x

PHP 6.0

PHP 6 was actively developed for a while but after hitting many snags, the development was halted and the created work was rolled into PHP 5.

When it became time to work on the next major version, after much debate it was decided that that version would be named PHP 7. So although there was once a beta version of PHP 6, no final release ever saw the light of day.

Current 5.6 version

New PHP Version: 5.6.40

5.6.40 is a security release, Which addresses several security bugs that have been fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.

This PHP 5.6.40 version is the last planned release that contains regular bugfixes. All future 5.6.* releases will contain only security-relevant fixes, until .

PHP 5.6 users that need further bugfixes are encouraged to upgrade to PHP 7.

ChangeLog - Download: http://uk3.php.net/downloads.php

Sitepoint's guide to what's new in this release sitepoint.com/php-5-6-0-released/

Migrating from PHP 5.6.x to PHP 7.0.x

Current 5.5 version

PHP Version: 5.5.38

This release marks the last PHP 5.5 version to be released.

If your PHP installation is based on PHP 5.5, Then it's a really good time to start making plans for the upgrade to 5.6 or 7.0.

Security Support Until . End of life A release that is no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.

ChangeLog - Download: http://uk3.php.net/downloads.php

Migrating from PHP 5.5.x to PHP 5.6.x

Current 5.4 version

PHP Version: 5.4.45

If your PHP installation is based on PHP 5.4, Then it's a really good time to start making plans for the upgrade to 5.6 or 7.0.

Security Support Until . End of life A release that is no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.

ChangeLog - Download: http://uk3.php.net/downloads.php

Migrating from PHP 5.4.x to PHP 5.5.x

Determine which PHP Version is being used

One way to find out what version of PHP is currently being used by one of your sites is to create a PHP page with the phpversion(); function.

<?php echo "The current PHP version being used is: "
			. phpversion(); ?>

Save this file as phpver.php to the same folder where all of your site files are located.

Then access this page in a browser using your domain and adding /phpver.php to the end of it (such as http://domain.com/phpver.php) to view the output.

The text on this page will be the output from the PHP script above and will display the version: The current PHP version being used is: 7.3.10