Overview
PHP configuration management allows you to control PHP versions, execution limits, and performance settings for your web applications. Loupp provides an intuitive interface for managing PHP settings without requiring manual server configuration.PHP Version Management
Current PHP Version
The PHP management interface displays your server’s current PHP configuration:- Active Version: Currently running PHP version
- Available Versions: List of PHP versions you can switch to
- Version Status: Information about the current version’s capabilities
PHP version changes are applied immediately and affect all web applications running on the server.
Switching PHP Versions
1
Select new version
Choose the desired PHP version from the dropdown menu of available versions.
2
Apply changes
Click “Switch Version” to begin the PHP version change process.
Changing PHP versions may affect application compatibility. Test your applications after version changes.
Available PHP Versions
Loupp supports multiple PHP versions to meet different application requirements:- PHP 8.4
- PHP 8.3
- PHP 8.2
- PHP 8.1
- PHP 8.0
- PHP 7.4
Choose the PHP version that best matches your application requirements and compatibility needs.
PHP Configuration Settings
Max Execution Time
Control how long PHP scripts can run:1
Access execution time setting
Locate the “Max Execution Time” section in the PHP configuration interface.
2
Set time limit
Enter the desired execution time in seconds (e.g., 300 for 5 minutes).
3
Apply changes
Click “Save Max Time” to update the configuration.
- 30 seconds: Default for web requests
- 300 seconds (5 minutes): For longer-running scripts
- 600 seconds (10 minutes): For intensive operations
- 0: No time limit (use with caution)
Setting execution time to 0 (unlimited) can lead to resource exhaustion and server instability.
Max File Upload Size
Configure the maximum allowed file upload size:1
Access upload size setting
Locate the “Max File Upload Size” section in the PHP configuration interface.
2
Set size limit
Enter the desired upload size in megabytes (e.g., 64 for 64MB).
3
Apply changes
Click “Save Max Upload” to update the configuration.
- 2MB: Default limit
- 8MB: Standard web application limit
- 16MB: For file-heavy applications
- 64MB: For large file uploads
- 128MB+: For specialized applications
Upload size limits affect both individual file uploads and total POST data size.