Each domain on your hosting can run its own PHP version. Versions from 5.6 to 8.5 are installed.
- In cPanel, open MultiPHP Manager.
- Tick the domain, choose a version from the list and press Apply.
Choose the newest version your site supports. PHP lists which versions still get security fixes on php.net. Keep an older one only for code you can’t update yet.
Memory limit, upload size and other settings
Change them per domain in MultiPHP INI Editor, also in cPanel.