0

I want to upload a file size of 64mb on my to site I received an error because my filesize is greater than the upload_max_filesize in my PHP info,

tried changing the upload_max_filesize in plesk/php settings but all the performance settings in including upload_max_filesize are not editable(default).

Pls is there another way I can change the value of the upload_max_filesize in GoDaddy plesk?

Bablu Ahmed
  • 3,692
  • 3
  • 36
  • 57

3 Answers3

0

Maybe you can use .htaccess file to set limits

php_value upload_max_filesize 10M

Or you can write it directly in php file:

ini_set('upload_max_filesize', '10M');

Or you can edit your Web.config:

  1. Open //web.config.
  2. Set the serviceMetadata entry in the serviceBehaviors section to true. The following sample show the text after edits for the ConfigManagementDataService web service:
  3.    <serviceBehaviors>
    <behavior name="ConfigManagementService">
      <serviceMetadata httpGetEnabled="true"/>
      <serviceDebug includeExceptionDetailInFaults="true"/>
    </behavior>
    

  4. Repeat the process for all the web services.

  5. Restart IIS

MohcinBN
  • 527
  • 4
  • 14
  • it seems my web server uses web.confiq instead but how can I write a standard upload_max_filesize in web.confiq? – Ojuchubi Moses May 04 '18 at 13:47
  • If you're using IIS Server you can edit it by following this steps: I will make an edit to my answer.. look there – MohcinBN May 04 '18 at 14:05
0

open the PHP version in cpanel, then go to the option as shown in below click the marked option

then u will get this page as shown below,

u can change the value here

0

Adding this line of code to my .user.ini file solved my problem file_uploads = On. post_max_size = 50. upload_max_filesize = 50M