• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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