Problem uploading file: upload_max_filesize, post_max_size

Discussion in 'HTML / PHP / JavaScript / CSS' started by diegogb, Oct 14, 2010.

  1. Hello:

    We have our CRM (Sugar) working on DASP.net and it was worked just fine for quite a while, but right now we wish to upgrade our CRM. (We are using versiĆ³n 5.2.0 and we want to upgrade to 5.5.1).
    For upgrading, Sugar uses a ZIP file, and the problem is when we are trying to upload that file, since we are getting an error:

    "File size is greater than what is allowed by the upload_max_filesize and/or the post_max_size settings in php.ini. Change the settings so that they are greater than the file size"

    So, finally, my question is: how can we change these settings in php.ini so that we can upload the file ???

    Thanks in advance.

    Regards.
     
  2. mjp

    mjp

    You can't, I'm afraid. php.ini is a global file in Windows (one per server, shared by all accounts), so customers cannot change it.

    Why don't you just unzip the archive and FTP the files up?
     
  3. Hello MJP:

    Thanks a lot for your answer.
    I had not thought about what you suggested, but since my need was to upload an Upgrade File for my Sugar App., (for updating it to a most recent version), I solved this in a different manner:
    I took a backup and created a mirror site in a test computer, where I was able to change Php.ini as needed. Then, after my Sugar App. was upgraded, I uploaded all back to the production site.

    Any way, thank you so much.
     
  4. mjp

    mjp

    Well, there you go, there's more than one way to skin a cat.
     
  5. Wanted to throw this info in here, since I saw your post.

    We recently made a change to these settings:

    post_max_size - 20m
    upload_max_filesize - 10m

    This setting should be across all servers now, and if you have any questions about it, be sure to post it here.
     

Share This Page