Joomla and PHP7

Joomla 3 version start supported PHP 7, that  reduce  loading time of the page by 10 – 30% on average. If the web server could handle 100 requests per second with PHP 5.6, then the same web server can handle 200 – 300 requests per second with PHP 7.

Backwards compatibility

Joomla had JString as a class since Joomla 1.5. In Joomla 3.3 a Framework package was introduced which had a duplicate class called “string“. JString was made to extend the framework string package, as they were just duplicates. “String” is a protected class name in PHP 7, so to avoid a conflict with the PHP 7 class, String was renamed to StringHelper.

Important information about the PHP versions:

  • PHP 5.3 – deprecated – should not be used anymore.
  • PHP 5.4 – deprecated – should not be used anymore.
  • PHP 5.5 – deprecated – should not be used anymore.
  • PHP 5.6 – Active Support Until 19 Jan 2017, Security Support Until 31 Dec 2018.
  • PHP 7.0 – Active Support Until  3 Dec 2017, Security Support Until 3 Dec 2018.
  • PHP 7.1 – Active Support Until  1 Dec 2018,  Security Support Until 1 Dec 2019.

Before you switch your Joomla website to PHP 7  take the time to research whether your extension providers support it also.

You can download and test Joomla! quick-start packages compatible with php7 here:


https://www.astemplates.com/joomla-template-details/109-002032

 

https://www.astemplates.com/joomla-template-details/436-002085

 

https://www.astemplates.com/joomla-template-details/577-002100

 

https://www.astemplates.com/joomla-template-details/243-002068

Leave a Reply

Your email address will not be published.

*