How to edit PHP.ini on Plesk

cPanel and CWP usually allow you to edit PHP settings by editing the php.ini file, on Plesk, it is a different story. This article will show you how to alter the upload file size and upload limits. Please note this is only available to premium accounts.

  1. Under your domain on the Plesk panel, go to PHP settings.

2. There you will see the PHP version currently running on your site, which you can change by clicking on the drop-down menu for the available options.

a) Memory limit: The maximum amount of memory in bytes a script is allowed to allocate.
Change this when you want to boost your script’s processing limits, be wary of clocking your allocated CPU and cron jobs limits.

b) Maximum execution time: The maximum time in seconds a script is allowed to run before it is terminated.
Change this if you want to let your request run longer before its terminated for taking too long to process.

c) Max input time: The maximum time in seconds a script is allowed to parse input data.
Change this f your want your script to take longer or shorter to process input data. (recommend to keep at default)

d) Post max size: The maximum size in bytes of data that can be posted with the POST method. Typically, should be larger than upload_max_filesize and smaller than memory_limit.
Change this to increase your post sizes on WP or other systems that use the POST method.

e) Upload max filesize: The maximum size in bytes of an uploaded file.
Change this when you want to alter the maximum file sizes you can upload directly to the server.

3. When you are satisfied with the settings, scroll to the bottom and click on OK.

Then you good to go!