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
  • 4,412
  • 5
  • 49
  • 64

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

Mohcin Bounouara
  • 593
  • 4
  • 18
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

Firdous bhat
  • 105
  • 7
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