• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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