Free advertising for your Joomla business
× The best place to ask questions about problems that you might be having with Joomla is the forum at JoomlaOz. We may be able to help you if you post your question here.

Question J3.5 and PHP 7

  • Laurie
  • Laurie's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 7 months ago #152 by Laurie
J3.5 and PHP 7 was created by Laurie
Hi there People!

What's the word on upgrading the PHP from PHP 5.6 to PHP 7 on hosting running a couple of J3.5 sites?

It sounds OK to me but our IT man is reticent to make the change. I note there is no real hurry to upgrade as PHP 5.6 will be supported for some time.

Thanks,
Laurie.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #154 by sozzled
Replied by sozzled on topic J3.5 and PHP 7
Thank you, Laurie, for a really interesting question.

The "bottom line", I guess, is that most people (particularly those using shared hosting) will not give two hoots about which version of PHP their webhost uses as long as

a) the PHP version is not buggy (and there are buggy versions of PHP that can affect Joomla websites); and
b) the webhost software meets the minimum requirements for whatever version of Joomla is being used for the website.

Unless people are in the fortunate position of owning their own web server, or can afford to pay the couple of hundred dollars per month to purchase a virtual private server, where they can manage the hosting software themselves, the discussion about choosing PHP 5.6 or PHP 7 is somewhat moot.

If you will forgive a short "war story", I recall that four years ago I wanted to conduct tests of Joomla 2.5 and I noted that the minimum PHP version at that time was 5.2.4 (although PHP 5.3+ was the "recommended" version). At that time, my webhost used PHP 5.2.17. Knowing that the writing was on the wall as far as J! 2.5 was concerned, I made enquiries with WebCity (my webhost at the time) about when they intended to update to PHP 5.3. I was informed by email that

We will be upgrading to PHP 5.3 down the track our company policy is to stay on a stable version of PHP and also guarantee more up time. If you require PHP 5.3 right away it can be installed on a private server plan that we offer.

When pressed to clarify what "down the track" meant, I was informed they would be "upgrading PHP maybe this year or next year sometime". Obviously that kind of wishy-washy vagueness is never going to cut it with customers and so I promptly took my business elsewhere.

You are absolutely right. There is no real urgency for people to upgrade to PHP 7. There are obvious advantages, of course, in terms of speed but there also could be disadvantages if some Joomla extensions are not PHP 7 "ready". ( One such example is the current version of Kunena that does not fully interoperate with PHP 7.)

So, before going "live" with PHP 7, it will be important to thoroughly check every single third-party extension that you're using to ensure it will continue to function properly. If people ask me "which third-party extensions are known to 'fail' in a Joomla 3.5/PHP 7 environment" my advice is to enquire at each developer's website to find out what they know.

This is what I can tell you with some certainty: the minimum PHP version requirements are
  • J! 3.0-3.2: PHP 5.3.1
  • J! 3.3+: PHP 5.3.10

At the moment, the only version of Joomla that is compatible with PHP 7 is J! 3.5.

I hope some of this helps.

Read my blog and
File Attachment:

Please Log in or Create an account to join the conversation.

  • Laurie
  • Laurie's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 7 months ago #155 by Laurie
Replied by Laurie on topic J3.5 and PHP 7
Thanks for the response Michael.

Please Log in or Create an account to join the conversation.

Time to create page: 0.245 seconds