• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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