Skip to content

Instantly share code, notes, and snippets.

@petk
Last active November 23, 2020 19:16
Show Gist options
  • Save petk/6ca68fc514d8c772a857 to your computer and use it in GitHub Desktop.
Save petk/6ca68fc514d8c772a857 to your computer and use it in GitHub Desktop.
PHP version usage for october, 2014

PHP version usage for october, 2014

PHP 5.3 version has reached EOL (end of life) in august, 2014, PHP 5.4 is already at the phase of receiving security fixes only and will reach EOL next year (2015). Next major version of PHP 7 is already in development and is planned to be released in november, 2015. But the statistics of PHP version usage on servers is kind of shocking.

Thanks to the research of PHP versions usage we have some data to work with. The majority of PHP servers has PHP 5.3 installed and also old versions of PHP 5.2 and less are still very widely used.

Why is upgrading PHP important?

  • New great features
  • Performance
  • Better coding possibilities
  • Future preparation for less painful upgrades of your app
  • Security
  • Open source libraries must now support old versions because there are still many old versions used (wide availability of developer's code is important)

What to do?

  • Ask for better environment - server with newer PHP versions
  • Let's upgrade to PHP 5.6 or 5.5 and refactor old code
  • Push the miniminum version of PHP in composer.json files to newer PHP versions

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment