Configuration
On the Add Site > PHP Manager > Configuration page, PHP configuration settings play a crucial role in optimizing the performance and security of your web applications. These settings define limits on resources, control execution times, and handle file uploads, ensuring the application runs efficiently under varying workloads. Adjusting these configurations allows you to fine-tune your environment based on the specific needs of your project.
![]() |
---|
Configurable Options
Field | Description | Type |
---|---|---|
Memory Limit | The maximum amount of memory a script can consume. Useful for preventing memory overuse in resource-intensive scripts. | Integer (In MB) |
Max Execution Time | The maximum time in seconds a script is allowed to run before termination. Helps avoid indefinite script execution. | Integer (In Sec) |
Max Input Time | The maximum time in seconds a script is allowed to parse input data. This includes POST and GET data. | Integer (In Sec) |
Max Input Vars | The maximum number of input variables a script can accept. Useful for handling large forms or complex data submissions. | Integer |
Post Max Size | The maximum size of POST data allowed, including file uploads. Determines the upper limit for form submissions. | Integer (In MB) |
Upload Max Size | The maximum size of a single file upload. Prevents excessively large file uploads. | Integer (In MB) |
Max File Uploads | The maximum number of files allowed to be uploaded simultaneously. Useful for managing multiple file uploads. | Integer |
Session GC Max Lifetime | The maximum lifetime of session data, measured in seconds. Determines when session data is considered garbage and cleaned up. | Integer (In Sec) |
Allow URL FOpen | Enables or disables the ability to open remote files via URL. Essential for handling remote resources in scripts. | Boolean |
Timezone | Specifies the default timezone for date and time functions. Ensures consistency in time-based operations. | Boolean |
Disable Functions | A list of functions that should be disabled for security or other reasons. Helps mitigate risks from potentially harmful operations. | Array |