• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Increase php upload_max_filesize

A

arvin

Guest
Hello,

I just want to increase php upload size from 2MB (by default) to 4 MB, for certain domain.

In Linux it takes time to manipulate for certain domain,

But in windows it’s easy; you can do for certain domain in this way:

Copy php.ini (usually this path c:\windows\php.ini) to httpdocs of your domain.

Change it in your desire, in this case change value of php_max_filesize to 4MB.
php_max_filesize = 4MB

And Done!

You can test your config before and after changes with simple phpinfo file in this way:

Create an empty text file in your httpdocs, rename it to phpinfo.php and edit it with following value:

<?php
phpinfo();
?>

And check it: http://yourdomain.tld/phpinfo.php

Regards,
arvin
 
Back
Top