skip to Main Content

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?

3

Answers


  1. Chosen as BEST ANSWER

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


  2. 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

    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search