How do I change the PHP version of my cPanel hosting?

Procédure

What are the different PHP versions available on cPanel?

cPanel allows you to choose between different PHP versions for each of the domain names you are going to host on your web space.

The versions currently available are as follows

  • PHP 5.3
  • PHP 5.4
  • PHP 5.5
  • PHP 5.6
  • PHP 7.0
  • PHP 7.1
  • PHP 7.2
  • PHP 7.3
  • PHP 7.4
  • PHP 8.0
  • PHP 8.1

For each PHP version, you can add and/or remove PHP modules.

How do you change PHP version on your cPanel hosting?

1. Connect to your cPanel hosting space, go to the"Software" section and click on"Select a PHP version".

How do I change the PHP version of my cPanel hosting?

2. In the drop-down menu, choose the PHP version you want for your sites and click on the"Set as current" button. You can also add modules to your PHP via the list below the drop-down menu.

How do I change the PHP version of my cPanel hosting?

Conclusion

You can now change the PHP version on your cPanel web hosting with LWS. Be careful, if you change PHP version when you already have a website in production, it may no longer display.

Don't hesitate to share your comments or questions!

Rate this article :

4/5 | 3 opinion

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

Use PHP Selector to activate PHP extensions on cPanel

1mn reading

How do I change max_upload_size and max_execution_time on cPanel?

1mn reading

How do I activate different PHP settings for added companion domains?


Questions sur l'article
Franck Il y a 412 days
Comment changer la version de php pour chaque sous domaine crée ??
See the
1 answers
Aurelien-LWS - Il y a 411 days

Bonjour,

Je vous remercie pour votre message.

Vous pouvez retrouver la procédure pour configurer une version PHP différente sur chaque sous-domaine ou domaine compagnons configurés sur votre formule cPanel en suivant cette documentation : https://aide.lws.fr/a/1281

Cordialement, L'équipe LWS

Utile ?

Ask the LWS team and its community a question