Do you have multiple domains and you wish to set the PHP version per domain? For example, you have the domains Example1 and Example2 and you want to set PHP7 on Example2 domain and PHP 5.6 on Example1. You will need to do this from the cPanel.
1. Log into your cPanel account.
2. In the "Software" section, click on the "MultiPHP Manager" Icon.
3. Scroll down to the end of page, select your domain from the left side and you will see the option "PHP Version" with a drop-down list on the right side. Select the appropriate PHP version from the drop-down menu and then click on Apply.
4. Now that you want to set PHP 5.6 on Example2, scroll down and select the example2 domain. Then set the PHP version to 5.6.
Congratulations, both of your domains use different different PHP versions now.
Les plus consultés
How to Reset the PHP Version to the Default Version, Using cPanel?
If you wish to reset the PHP version to the default version, follow these instructions:1. Log...
Comment réinitialiser le mot de passe de mon compte cPanel ?
Si vous pouvez accéder à votre compte cPanel, suivez ces étapes pour réinitialiser votre mot de...
Déplacer des fichiers ou des dossiers entre des répertoires
Déplacer des fichiers ou des dossiers entre des répertoires Mover archivos o carpetas entre...
Comment mettre à jour vos informations de contact cPanel ou recevoir une notification lorsque la limite de quota est atteinte ?
Si vous souhaitez recevoir une notification sur l'atteinte de votre quota de disque, la limite...
Comment changer le style/thème cPanel ?
Passer à un autre thème cPanel avec un style différent est facile et il y a deux façons de le...