Difference between PHP

I would like know which the difference between:
PHP 5.5, PHP 5.6 or PHP 7.2

If i have a linode with CentOS 7 if i install yum install php
by default come with version 5.4.

Some CMS say Install With Version Php 5.6 others say Php 7.2

2 Replies

The primary difference between different versions of PHP are the supported features. For example, the MySQL extension is deprecated in PHP 5.5+ and developers are urged to use MySQLi.

You can find more information on the deprecated features in the versions you mentioned on the following URLs:
https://secure.php.net/manual/en/migration55.deprecated.php
https://secure.php.net/manual/en/migration56.deprecated.php
https://secure.php.net/manual/en/migration72.deprecated.php

You'll likely need a matching PHP version before installed scripts will function correctly.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct