Each domain can use a different PHP version. New apps need recent versions, and some old sites only work on older ones.
-
Open the PHP settings
Go to Websites & Domains and, for your domain, open PHP (or PHP Settings).
-
Pick the version
Choose the version from the PHP version list. Use the newest version your app supports.
-
Adjust the limits if needed
On the same page you can change:
Setting What it is for memory_limitMaximum memory for one script upload_max_filesizeLargest file that can be uploaded post_max_sizeLargest form submission, at least as big as upload_max_filesizemax_execution_timeHow many seconds a script may run -
Save
Click Apply or OK. The change takes effect immediately.