• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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