Results 1 to 6 of 6

Thread: upload_max_size and post_max_size location?

  1. #1
    blindude24 is offline Member
    Join Date
    May 2009
    Posts
    9

    Default upload_max_size and post_max_size location?

    I am having an issue that is similar to the one found in this thread:
    http://www.sugarcrm.com/forums/showthread.php?t=48118

    and the resolution was to increase the upload_max_size and post_max_size fields. I have looked through several php files trying to find it but I haven't had any luck. Would someone be able to point me to the path of where the file is located within the sugar installation?

    Thanks

  2. #2
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: upload_max_size and post_max_size location?

    Hi
    change you php.ini file
    go to your php installation path and get your php.ini file

    sample
    bin\php\php5.2.5
    Last edited by crmbalah; 2009-06-05 at 02:34 PM.

  3. #3
    blindude24 is offline Member
    Join Date
    May 2009
    Posts
    9

    Default Re: upload_max_size and post_max_size location?

    Thanks that worked for me.

  4. #4
    Mikeymike is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Question Re: upload_max_size and post_max_size location?

    In my php.ini file says:

    Code:
    upload_max_filesize = 8M
    post_max_size = 8M
    Still when I try to upgrade to SugarCE-Patch-5.2.0f I get the message:
    The file size,  Bytes, 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  Bytes and restart the webserver.

    I currently run SugarCRM 5.2.0 (SugarCE patch 5.2.0a). In systems settings I have set the maximum upload size to 21000000. What's wrong? Why can't I install the upgrade?

    Thanks for your help!

    Mike @ Coachbook

  5. #5
    eescribano's Avatar
    eescribano is offline Senior Member
    Join Date
    Mar 2009
    Location
    Netherlands
    Posts
    85

    Default Re: upload_max_size and post_max_size location?

    You have to increase the MB in the php.ini, 8MB it is not enough. I had to increase at least until:
    upload_max_filesize = 32M
    post_max_size = 32M

    If you still have the problem then increase even more until 256MB or something like that, but I think should be enough 32MB, I don't remember I much I needed

    (By the way in the thread linked in this thread it is said at least until 20MB http://www.sugarcrm.com/forums/showthread.php?t=48118)
    Elisabeth Escribano
    Webdeveloper

    MADCAP verademing in ict

    e.escribano@madcap.nl

    Schapedrift 89
    3371 JJ Hardinxveld-Giessendam
    Netherlands
    Tel 088 99 088 99
    Fax 088 99 088 98

    www.madcap.nl

  6. #6
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Default Re: upload_max_size and post_max_size location?

    Quote Originally Posted by Mikeymike View Post
    In my php.ini file says:

    Code:
    upload_max_filesize = 8M
    post_max_size = 8M
    Still when I try to upgrade to SugarCE-Patch-5.2.0f I get the message:
    The file size,  Bytes, 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  Bytes and restart the webserver.

    I currently run SugarCRM 5.2.0 (SugarCE patch 5.2.0a). In systems settings I have set the maximum upload size to 21000000. What's wrong? Why can't I install the upgrade?

    Thanks for your help!

    Mike @ Coachbook
    Hi,

    I run Sugar 5.2.0f and these are my settings;

    ; Maximum size of POST data that PHP will accept.
    post_max_size = 8M

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 40M

    That should have to work. Goodluck.
    Kind regards,

    De Kleine Media


    SugarCRM CE v.5.2.0h
    Windows platform
    MySQL v.5.1
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. upload_max_filesize / post_max_size error
    By OneLightCorp in forum Installation and Upgrade Help
    Replies: 13
    Last Post: 2011-12-09, 02:47 PM
  2. location of 'where' => '', in MB
    By hiko in forum Developer Help
    Replies: 0
    Last Post: 2009-06-02, 06:18 AM
  3. php.ini location
    By vinceyoumans in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-12-07, 06:00 PM
  4. Install location for Mac OS X
    By sydneystephen in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2006-12-06, 03:06 PM
  5. location time
    By mimic in forum Help
    Replies: 3
    Last Post: 2004-10-31, 07:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •