Optimize the Performance of Your PHP Applications

The php.ini file is the central configuration file for PHP. With the MultiPHP INI Editor, you can adjust important parameters such as the memory limit or the maximum upload size without having to manually search for the file on the server.

When do I need this? Many CMS (like WordPress) require more memory for certain plugins or only allow small file uploads by default. Here you can increase these limits.

Two Ways to the Goal: Basic & Editor

First, select the location from the dropdown menu: Either your Home Directory (applies to all sites) or a specific Document Root (applies only to a specific domain).

1. Basic Mode (Recommended)
Here you will find a user-friendly interface with switches and text fields for the most common settings:
  • memory_limit: Maximum RAM per script.
  • upload_max_filesize: Maximum size for file uploads.
  • post_max_size: Maximum size of form data.
  • max_execution_time: Time limit for scripts.
2. Editor Mode
For professionals: Here you can edit the php.ini directly as a text file. This allows for the entry of special directives not listed in Basic Mode.

Important Application Tips

  • Save & Apply: Once you click "Apply" (Basic) or "Save" (Editor), the system automatically writes the changes to the php.ini, .user.ini, and .htaccess files.
  • Safety First: Only increase limits as much as necessary. An extremely high memory_limit can cause faulty scripts to slow down the entire server.
  • Default Values: If you want to reset the settings, simply delete the php.ini in the corresponding directory via the File Manager.
Note for Upgrades: If you change your primary PHP version (e.g., from 7.4 to 8.2), you should re-save the settings in the editor once to ensure all configurations are correctly transferred to the new environment.

Your changes are not taking effect?
Check under MultiPHP Manager to see if the correct PHP version is active for your domain.

Was this answer helpful? 0 Users Found This Useful (0 Votes)