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

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.6
  • PHP 7.0
  • PHP 7.1
  • PHP 7.2
  • PHP 7.3
  • PHP 7.4
  • PHP 8.0
  • PHP 8.1
  • PHP 8.2
  • PHP 8.3
  • PHP 8.4
  • PHP 8.5

For each PHP version, you canactivate and/or deactivate PHP extensions.

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 from the drop-down list and then click on the"Apply" button. You can also enable or disable PHP extensions for the selected version by checking/unchecking them on the list displayed.

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

Conclusion

You are now able to 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

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 904 days
Comment changer la version de php pour chaque sous domaine crée ??
See the
1 answers
Aurelien-LWS - Il y a 903 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