First log in to cPanel for your account.
Go to Cpanel -> PHP Version Manager:
Navigate to the directory you would like to change the PHP version for by clicking on the folder icons. Note that the change will apply to sub-directories for the chosen directory as well. If you would like to make the change for the whole website – choose the public_html directory.
Click on the directory name.
Select the desired PHP version from the list and click Save.
Go to Cpanel -> PHP Version Manager:
Navigate to the directory you would like to change the PHP version for by clicking on the folder icons. Note that the change will apply to sub-directories for the chosen directory as well. If you would like to make the change for the whole website – choose the public_html directory.
Click on the directory name.
Select the desired PHP version from the list and click Save.
That is all - you have now changed the PHP version for your website.
No comments:
Post a Comment