How do you change the PHP version of your Joomla site to 7?

Procédure

Why change the PHP version on Joomla to 7?

How do you change the PHP version of your Joomla site to 7?

For some time now, when logging into the administration of your Joomla site, you may find the following sentence:

" Your PHP version is currently only receiving security patches from the PHP project. This means that your PHP version will soon no longer be supported. We recommend that you plan to upgrade to a new version of PHP."

It is therefore preferable to change the PHP version used for security reasons. However, it is essential to follow a few rules to avoid getting a 500 error on your website.

How do I update my PHP version to version 7 for Joomla?

When you change your PHP version, from 5.6 to 7.1, 7.2, 7.3, 7.4 or even 8.0 (New), this can have an impact on the operation of your Joomla site. It is true that this update is necessary for your site to function properly and to avoid security problems. However, there is a methodology to be followed to avoid any malfunctions on your website.

To avoid any problems, it is advisable to:

  • List the components installed on your website
  • Check that all your components are up to date
  • Check that your components are compatible with the PHP 7 version you are going to install.

If one of the components was installed some time ago and you have doubts about its compatibility with version PHP7.1 or higher, it is best to uninstall this component. You should also uninstall any components that are not compatible with the new version of Joomla.

1. Once all the components have been checked, log into your customer area and click on"Domain and hosting".

How do you change the PHP version of your Joomla site to 7?

2. Click on"Admin/Administrer" behind the domain name for which you want to change the PHP version.

How do you change the PHP version of your Joomla site to 7?

3. Click on the"PHP Configuration" button under the heading"5 - MySQL/PHP Management/Backups".

How do you change the PHP version of your Joomla site to 7?

4. Change the PHP version to 7.1 or higher. Finally, click on the"Validate" button to save your request. The PHP version will be updated within an hour of your request.

How do you change the PHP version of your Joomla site to 7?

Conclusion

You are now able to change the PHP version on your Joomla site with your LWS Web hosting. However, it should be noted that you should first check that your components are compatible with PHP version 7.0 or higher.

Don't hesitate to share your comments and questions!

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

1mn reading

How do I configure PHP on my hosting?

2mn reading

How do I create a cron job?

3mn reading

Customisation of error pages

0mn reading

How to access Apache / Php logs


Questions sur l'article
Thierry Il y a 624 days
Bonjour Comment vérifier la compatibilité de mes composants avec une nouvelle version PHP que je souhaite mettre à jour car LWS me conseille de passer de la version PHP 5.3.29 à la version 5.6 Merci d'avance
See the
1 answers
fabrice-LWS - Il y a 617 days
Bonjour, effectivement, il est nécessaire de changer de version PHP pour la version 5.6 dans la mesure ou la version PHP 5.3 sera définitivement abandonnée à compter du mois de février. Si votre site utilise Wordpress, Joomla ou Prestashop, le changement de version PHP ne devrait pas poser problème. Vous pouvez dans tous les cas, tester un changement de version PHP en vous rendant sur votre espace client, cliquez sur "Gérer" se trouvant derrière votre domaine puis sur "Configuration PHP". Si la version PHP pose problème, il vous faaudra changer de formule pour une formule cPanel sur laquelle la version PHP 5.3 continuera d'être présente. Il vous sera possible de changer de version PHP en vous rendant sur l'administration de votre formule puis sur "Changer de formule". Avant d'effectuer le changement de formule, il vous sera nécessaire d'effectuer une sauvegarde de vos données.
Utile ?

Ask the LWS team and its community a question