Till now, all the applications on your server had just one shared PHP configuration. It means, If you are setting max_input_vars or any other PHP directive within php.ini configuration file, it would apply to all the applications hosted on your server.
Same goes for the PHP version selection. You had to select the version at server level which means all of your applications had to use the same PHP version. But not anymore.
You can now update PHP directives like max_execution_time, max_input_vars, memory_limit, etc and also PHP version for each of your application directly from the ServerAvatar panel.
For example, If you have one application that requires PHP7.0 and another that requires PHP7.2, No problem! It’s just a matter of seconds!
In this article, I will show you how you can update PHP settings and version for your applications hosted through ServerAvatar. It’s very easy to understand and execute.
Considering you already have a server connected and application ready, Let me show you how you can update a dedicated PHP version and other settings for a specific application.
First of all, Click on the Applications option given on the left sidebar of your dashboard. On that page, you will get a list of all the applications under the account. Once on the page, Click on the Dashboard button corresponding to the application you want to update.
Once on the application dashboard, you will see one new option in the left sidebar of the application dashboard. The new option is going to be PHP Settings. Click on the PHP settings option on the application dashboard and you will see a new page just like the following image.
On this page, you can update all the common PHP settings. You can manage:
- PHP Version (PHP7.0, PHP7.1 and PHP7.2)
- Disabled Functions (There are few by default, you can remove them too)
Considering you have updated your directives as per your requirement, click on the Save changes button given at the end of the form and your updated configuration will be applied within 5 seconds.
So, this is how you can update your PHP settings dedicated to a specific application without even touching a command line or editing any file manually.
With this Update, You can also share SFTP information with anyone without worrying about the security. Because every application has it’s own configuration and other application files are impossible to access even with the PHP scripts.
Conclusion: This was one of the biggest
Let us know if you are facing issues following this tutorial in the comment section or in the support ticket. We will get back to you with the solution as soon as possible.Sharing is caring 🙂