Change PHP Version
Different applications or sites might require different PHP versions on your server to run successfully. For example, if you have one project created in PHP v7.2 and another in PHP v7.4, you must have PHP v7.2 and PHP v7.4 available on the server to run both projects on a single server.
With ServerAvatar, you get all the PHP versions from v7.2 to v8.2 active and ready to use. You can run different sites/applications on different PHP versions.
The default PHP version is set to v8.0, but you can set a different version while creating an application. You can also update it after the application is deployed on the server.
Follow the below steps to change the PHP version of any of your sites or applications hosted on ServerAvatar.
Step 1: First, log in to your ServerAvatar Account.
Step 2: Click on the Server Dashboard button.
Step 3: Now, you will see the option Applications on the left-hand sidebar of the Server Panel. Click on “Applications”.
Step 4: Now, you will see the Applications table like the below image.
Step 5: Click on the Application Name or Dashboard icon to access the application panel.
Step 6: Now, you will see the option PHP Settings on the left-hand sidebar of the Application Panel. Click on “PHP Settings”.
Step 7: Now, you will see the PHP Settings form like the image below. Then click on “PHP Settings”.
Step 8: You can now change your PHP Version. Then click on the “Update Setting” button.