PHP.INI file is the default configuration file for application that require PHP. PHP.INI file is used to control variables like upload file size, resource limits, file timeouts etc..
In this tutorial I will guide how you can edit php.ini file via Plesk for your running application.
The most common parameters changed in the php.ini file are:
safe_mode register_globals upload_max_filesize post_max_size max_execution_time
If you’re experiencing difficulty with your web application, you can edit the php.ini or create a new text file. For example, you’re unable to install a WordPress theme or plugin through your WP Dashboard.
Please make a copy Before making any changes, it’s a good idea to copy the original settings, both for reference and to easily restore the original if necessary.
You can edit the domain-level php.ini file using Plesk Control Panel. Follow the below steps to edit the php.ini file.
1. Select the Websites and domain tab.
2. Expand the advanced options by clicking the arrow.
3. Select PHP setting from the menu.
4. Most common PHP directives are in this page and ready for you to modify. You can select common options from the drop-down menus, or create your own by using the “Custom Variable” option. For directives that are not listed, raw text can be input in the box at the bottom of this screen.
5. Click “OK” at the bottom to save.