Results 1 to 3 of 3

Thread: Upgrade to php5 breaks app

  1. #1
    aemadrid is offline Junior Member
    Join Date
    Aug 2005
    Posts
    4

    Default Upgrade to php5 breaks app

    I recently upgraded to php 5.1.4 and it's breaking my SugarCRM 3.5.1a install. It runs fine until I log in and then breaks with a memory exhaustion problem. I found out how to upgrade to a newer version but it seems I need to be logged in as an admin before I can do the upgrade. Please help me figure out how to fix SugarBean.php or upgrade to a version that works with php5.

    Thanks in advance,


    Adrian Madrid

    PS: Here my system information:

    SugarSuite-Full-3.5.1a

    PHP 5.1.4 (cli) (built: Jul 28 2006 00:15:04)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

    [Tue Aug 22 10:08:30 2006] [error] [client 64.122.26.221] PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 54 bytes) in /home/domain/public_html/SugarCRM/data/SugarBean.php on line 1721

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    max_execution_time = 30 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    memory_limit = 32M ; Maximum amount of memory a script may consume (8MB)

    # cat /etc/redhat-release
    CentOS release 4.3 (Final)

  2. #2
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: Upgrade to php5 breaks app

    Have you tried bumping up the memory limit a bit further? Also, try comparing the php.ini files from the previous v4 and the new v5.

  3. #3
    aemadrid is offline Junior Member
    Join Date
    Aug 2005
    Posts
    4

    Default Re: Upgrade to php5 breaks app

    Thanks for the info. I have moved the memory limit to 128MB and still there was no way of getting it to work. In the end I had to go back to php4, install the upgrade and then move back to php5. I must say it was very painful to go through all these hoops to get it working although now it runs the latest version.

    Thanks again,


    Adrian Madrid

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •