Skip to main content
PHP settings control how your site runs and handles requests. The right configuration helps improve performance, stability, and compatibility with themes, plugins, or custom code. With ORIV, you can manage PHP and PHP-FPM settings for each site separately, without touching the server or editing config files. Follow the guide to find these settings and how to update them safely:

Step 1: Go to Your Site

With ORIV, you can also manage your site’s PHP settings separately. Just go to your site, navigate to the ‘Site Settings’ option from the sidebar.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 2: Go To PHP Configuration

You can manage your PHP settings for these sites easily. Next, go to the ‘PHP Configurations’ option and set the ‘PHP Version’ from the dropdown menu according to your preferences. Note: If you change the PHP version for a site, ORIV automatically resets the PHP and PHP-FPM configuration values to their default settings for that PHP version.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Here you will get an option ‘Manage’, click on it to access ‘PHP Configuration’, ‘FPM Configuration’ and ‘OPcache Configurations’ options.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 3: Manage PHP Configurations

First, choose ‘PHP Configuration’, in the pop-up menu, you will get a few options to get the following options that can be modified:
  1. Max Execution Time: The maximum time a PHP script can run before it stops.
  2. Max Input Time: Maximum time PHP waits to receive input data.
  3. Memory Limit: Maximum amount of memory a PHP script can use.
  4. Max File Upload Size: Maximum size allowed for uploaded files.
  5. Max Input Vars: Maximum number of input variables PHP can accept in one request.
  6. Post Max Size: Maximum size of data allowed in POST requests.
  7. Session GC Maxlifetime: Time PHP keeps session data before deleting inactive sessions.
If you are not sure about the values, you can use the ‘Auto Tune’ option. Click on the button, and configuration values have been automatically calculated based on your server’s available RAM. Please review the suggested values below and click Save Settings to apply them.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Now, if you want to customise the options, go to each option and enter your preferred values in the dedicated field and click on the ‘Save Changes’ button.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 3: Manage FPM Configurations

First, choose ‘Manage FPM Configurations’, and on the pop-up menu, you will get a few options.to get the following options that can be modified:
  1. PHP Version: PHP version used to run the site.
  2. Process Manager Type: Process manager mode used by PHP-FPM to handle requests.
  3. PM Start Servers: Number of PHP worker processes started when PHP-FPM launches.
  4. PM Min Spare Servers: Minimum number of idle PHP worker processes kept ready.
  5. PM Max Spare Servers: Maximum number of idle PHP worker processes allowed.
  6. PM Max Children: Maximum number of PHP worker processes that can run at the same time.
  7. PM Max Requests: Number of requests a PHP worker handles before restarting.
Note: PHP-FPM is only available in NGINX right now. If you are not sure about the values, you can use the ‘Auto Tune’ option. Click on the button, and configuration values have been automatically calculated based on your server’s available RAM. Please review the suggested values below and click Save Settings to apply them.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Now, if you want to customise the options, go to each option and enter your preferred values in the dedicated field and click on the ‘Save Changes’ button.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 3: Manage OPCache Configurations

First, choose ‘OPcache Configurations’, in the pop-up menu, you will get a few options to get the following options that can be modified:
  1. Memory Consumption
  2. Interned Strings Buffer
  3. Revalidate Frequency
  4. Max Accelerated Files
If you are not sure about the values, you can use the ‘Auto Tune’ option. Click on the button, and configuration values have been automatically calculated based on your server’s available RAM. Please review the suggested values below and click Save Settings to apply them.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Now, if you want to customise the options, go to each option and enter your preferred values in the dedicated field and click on the ‘Save Changes’ button.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
And that’s it this is how easily you can configure PHP settings to help your site run faster and more reliably. ORIV makes these changes simple by offering site-level controls without server access or manual configuration. Always apply changes gradually and test your site after updates to avoid performance or stability issues. Still stuck? Feel free to reach out to our support team.