Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: warning php config file

  1. #1
    strings is offline Member
    Join Date
    Sep 2006
    Posts
    9

    Default warning php config file

    Getting this warning prior to upgrading to 4.5

    Warning: Your PHP configuration must be changed to allow files of at least 6MB to be uploaded. Please modify the upload_max_filesize value in your php.ini located at: /usr/local/Zend/etc/php.ini

    Anybody have any ideas?

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    1,004

    Default Re: warning php config file

    Yes, Have you looked in that file? Edit it and change the following line.
    Code:
    upload_max_filesize = 8M
    and change it to the following:

    Code:
    upload_max_filesize = 16M
    This should solve your problems with the upgrade. Also you might want to look at increasing it more if you store large documents in the Documents module. just size it to the maximum document size you want to allow to be uploaded to the system. Do not lower it below 16M for upgrades as some files may grow to be that big with major updates.
    Cheers,

    Max W. Blackmer, Jr.
    [SIGPIC][/SIGPIC]
    Blog
    Phone: +1 (901) 672-2694



  3. #3
    strings is offline Member
    Join Date
    Sep 2006
    Posts
    9

    Default Re: warning php config file

    Where is this file located

  4. #4
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    1,004

    Default Re: warning php config file

    Quote Originally Posted by strings
    Getting this warning prior to upgrading to 4.5

    Warning: Your PHP configuration must be changed to allow files of at least 6MB to be uploaded. Please modify the upload_max_filesize value in your php.ini located at: /usr/local/Zend/etc/php.ini

    Anybody have any ideas?
    Did you read the warning message at all, it tells you right in the message.
    Cheers,

    Max W. Blackmer, Jr.
    [SIGPIC][/SIGPIC]
    Blog
    Phone: +1 (901) 672-2694



  5. #5
    sutfra is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    14

    Exclamation Re: warning php config file

    Hi,

    I'm having the same warning and nothing seems to make it go away. Actually, the warning appeared even though upload_max_filesize was already at 8MB. I tried raising that to 12MB, then 16MB, but to no avail. SugarCRM still complains that the limit is below 6MB. If I look at phpinfo() output, I see the expected figure though.

    This happens with Sugar 4.5.0c running on PHP 5.1.4 (which is mentioned as unsupported by Sugar). Is this a PHP problem or is it Sugar that is unable to access information with this version of PHP?

    Thanks in advance for any help.
    Last edited by sutfra; 2006-10-10 at 09:36 AM.

  6. #6
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: warning php config file

    Quote Originally Posted by sutfra
    This happens with Sugar 4.5.0c running on PHP 5.1.4 (which is mentioned as unsupported by Sugar). Is this a PHP problem or is it Sugar that is unable to access information with this version of PHP?
    Thanks in advance for any help.
    Hi sutfra,

    Make sure to RESTART the apache server after making any changes to your php.ini file.

    For me it's working very smooth.

    Regards,

  7. #7
    sutfra is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    14

    Default Re: warning php config file

    Quote Originally Posted by paikmoses
    Make sure to RESTART the apache server after making any changes to your php.ini file.
    Thanks, but I did that. Proof is that I could see the max_upload_filesize figure change in the phpinfo() display. But Sugar remained oblivious. It must be something less simple.

    François Suter

  8. #8
    NoritaD is offline Junior Member
    Join Date
    Mar 2008
    Posts
    2

    Default Re: warning php config file

    Please will you tell me how to access the config file for sugar? Thank you,

  9. #9
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,678

    Default Re: warning php config file

    Are you sure the max upload size in sugars config.php ist big enough?
    'upload_maxsize' => 16000000,

  10. #10
    heribert is offline Member
    Join Date
    Apr 2006
    Posts
    8

    Default Re: warning php config file

    I'm having the same problem. Php.ini is set to 16M, Sugar config.php is set to 16M and I've restarted the webserver. PHPINFO confirms these settings. At the moment I'm running 5.0.0c and everything seems ok, but when trying to upgrade to 5.0.0d with the upgrade wizard I'm getting this error message.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

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
  •