Search Our Database

How to adjust PHP configurations per domain in cPanel

Last updated on |

Introduction

In cPanel, adjusting PHP configurations per domain enables administrators or users to customize settings like memory limits, max execution time, or file upload sizes for individual websites on a shared hosting environment. This is useful when hosting multiple domains with different application requirements. The process is handled through cPanel’s MultiPHP INI Editor or MultiPHP Manager, depending on the server’s PHP handler (such as suPHP or PHP-FPM). Users can make these changes at any time via the cPanel interface, allowing fine-tuned performance and compatibility for each domain.

 

Prerequisite

  • Access to cPanel
  • Basic understanding on cPanel features

 

Step-by-step guide

Step 1: Access to cPanel

  • Login to your cPanel control panel.
    The URL to your cPanel typically will be like <domain>:2083 or <server IP>:2083.
  • Before proceeding to Step 2, you may follow the step from the link to view on your current PHP configuration.

 

Step 2: Navigate to PHP Settings

  • Once login, you may search ‘PHP’ on the top right search bar. Select MultiPHP INI Editor.

 

  • Select the domain that you wish to adjust the PHP configurations.

 

Step 3: Adjust the value

  • Once you have selected the domain, you may edit the value depend on your requirements. You will need to click on Apply.
    We take PHP Memory_Limit as an example.

 

Conclusion

By going through this guidance, you will be able to adjust the PHP configuration to fit your requirements when deploying the website.

 

For additional assistance or if you encounter any issues, please contact our support team at support@ipserverone.com.