1.7 KiB
1.7 KiB
PHP Versions & Extensions Management
Multi-PHP makes it easy to switch, configure, and manage different PHP environments for your projects.
🔩 Managing PHP Versions
Navigate to Settings > PHP Versions to download, select, and manage multiple PHP versions.
- Available Versions: List of all PHP versions available for download.
- Downloaded Versions: Versions already present on your system.
- Default Version: The global PHP version typically used for CLI (e.g., in a terminal).
- Restart Delay: Multi-PHP automatically restarts PHP-FPM when settings change.
🛠️ PHP Extension Manager
Every PHP version in Multi-PHP comes with its own extension manager. You don't need to manually edit php.ini for common tasks anymore.
Using the Manager:
- Select Extension: Find your desired extension (e.g.,
mysql,gd,zip). - Toggle: Click to enable or disable the extension.
- Apply: Multi-PHP will update the
php.inifile for you and restart the version's service automatically.
📝 Raw Editing of php.ini
If you need fine-grained control over your PHP configuration, use the built-in RAW EDITOR.
- Open Editor: Access the editor button in the extensions window.
- Save & Restart: Click "Save and Restart" to apply changes immediately.
- Search & Replace: Use the search functionality to find specific variables like
memory_limitormax_execution_time.
Tip
You can also use the "Server Tuning" tool under the "Tools" menu to quickly adjust common PHP performance settings without manually editing code files.