error in uebimiau with big mail

Discussion in 'Installation/Configuration' started by lunardi, Feb 27, 2007.

  1. lunardi

    lunardi New Member

    hy all,

    I need help.

    I'm receive an big mail (4237 Kb) and open show message:


    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1314754 bytes) in /home/admispconfig/ispconfig/web/webmail/inc/class.uebimiau.php on line 621


    In file, I'm not identify error.
    Thanks
     
  2. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    Increase the memory setting in php.ini. The default is 16M.
     
  3. lunardi

    lunardi New Member

    Hy again,

    But in squirrelmail not show error, just in uebimiau !

    The line to change in php.ini is memory_limit = 8M ?

    Thanks again
     
  4. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    Attachments are encoded. Squirrel and uebimiau may use different encoding techniques (don't know, just guessing).

    Encoding almost always at least doubles the required memory, especisally during the composing phase of emails.

    Yes, upgrade memory_limit to 16M or 32M
     
  5. lunardi

    lunardi New Member

    Hy,

    I'm change to 16, 32 and 64.

    Restart with command:
    /etc/init.d/apache2 restart

    Nothing, continue same error...

    Some idea ?

    Thanks
     
  6. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    Did you pick the right php.ini? You can search your server with
    Code:
    locate php.ini
    . Also, there is no .htaccess file in either your webdir or the uebimiau install directory? If you want to know which php.ini file is used, create a small program in your webroot: phpinfo.php. Contents of this file:
    Code:
    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    ?> 
    Remember to remove this file on a public server.
     
  7. lunardi

    lunardi New Member

    Hy,

    I'm change the files:

    /etc/php5/apache2/php.ini
    /etc/php5/cli/php.ini
    /root/ispconfig/php/php.ini

    In all files, upgrade for 64M and now OK.

    Thanks
     
  8. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    As you apparently use the packages, changing /root/ispconfig/php/php.ini would be all you need to do. I could have said that earlier, I guess :(
     

Share This Page