Adjusting PHP Settings in cPanel
Overview
- Adjust PHP settings like memory, display errors, etc.
- Use cPanel tools: Multi PHP Manager and Multi PHP INI Editor.
Accessing Tools
- Log into cPanel account
- Navigate to Software Section
- Find Multi PHP Manager
- Find Multi PHP INI Editor
Using Multi PHP Manager
- Purpose: Change the PHP version for your website.
- Steps:
- Select the domain.
- Choose PHP version from the list.
- Click Apply to change the PHP version.
- Example: Default PHP version set to 7.2, change as needed.
Using Multi PHP INI Editor
- Purpose: Edit settings like memory limit, display errors, etc.
- Steps:
- Open Multi PHP INI Editor.
- Select the domain to edit.
- Available settings for changes:
- Display Errors
- Max Execution Time
- Input Time
- Memory Limit
- Explanation provided for each setting.
- Example Adjustments:
- Display Errors: Useful for diagnosing 500 errors. Turn on and click Apply.
- Memory Limit: Increase memory, e.g., from 32MB to 512MB, and click Apply.
Editor Mode
- Access detailed PHP settings directly.
- Steps:
- Switch to Editor Mode.
- Select the domain.
- View and verify applied settings (warnings for direct editing).
- Confirm settings like display errors and memory limit.
Changing Settings Again
- Return to Basic Mode for adjustments.
- Steps:
- Select domain.
- Change settings as needed.
These steps allow you to manage PHP settings efficiently in cPanel for better website performance and error management.