Are you restarting apache after changing the entry?
W
Philip Moy wrote:
Hi,
I am running Centos4 with php4, the default php.ini is 8M under
/etc/php.ini , no matter I change to 32M or 64M.
Attachment with 2.8M size still give me an "error page"
The Max size I can go through without error is 2.5M and I set the memory
limit as 16M for now.
Thanks,
Philip Moy
On 5/25/07, *Johannes Weberhofer, Weberhofer GmbH* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
please adjust the "memory_limit" in your php.ini file. Set it e.g.
to "32M" (you might have 16M set). At my Server the file is located
in /etc/php5/apache2/php.ini.
Best regards,
Johannes Weberhofer
Philip Moy schrieb:
> Sorry, here is more detail:
> It is running CentOS4 X86 with default install on my testing box.
>
> The php.conf is simple, no post size limit:
>
> LoadModule php4_module modules/libphp4.so
> AddType application/x-httpd-php .php
> DirectoryIndex index.php
>
> I tried to modify the default post_max_size = 10M to
post_max_size = 16M
> under php.ini,
> Now I can click 'forward as attachments" up to 2.5M.
> That is the best I can get without the page cannot be display error,
> even I increase the
> post_max_size limit, it won't help.
>
> Squirrelmail version is 1.49a-1.35 and I upgrade to 1.36, still
no luck.
>
> Here is the error_log from httpd:
> [client 10.151.152.11 <http://10.151.152.11> <
http://10.151.152.11>] PHP Fatal error: Allowed
> memory size of 16777216 bytes exhausted (tried to allocate 79
bytes) in
> /usr/share/squirrelmail/functions/imap_general.php on line 244,
referer:
>
http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=65&startMessage=1
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=65&startMessage=1>
>
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=65&startMessage=1
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=65&startMessage=1>>
> Allowed memory size of 16777216 bytes exhausted (tried to
allocate 140
> bytes)
> [client 10.151.152.11 <http://10.151.152.11>
<http://10.151.152.11 <http://10.151.152.11>>] PHP Fatal error: Allowed
> memory size of 16777216 bytes exhausted (tried to allocate 12
bytes) in
> /usr/share/squirrelmail/functions/mime.php on line 119, referer:
>
http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1>
> <
http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1>>
> Allowed memory size of 16777216 bytes exhausted (tried to
allocate 140
> bytes)
> [client 10.151.152.11 <http://10.151.152.11>
<http://10.151.152.11>] PHP Fatal error: Allowed
> memory size of 16777216 bytes exhausted (tried to allocate 79
bytes) in
> /usr/share/squirrelmail/functions/mime.php on line 119, referer:
>
http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1>
>
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1
<http://mail.cdnonline.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=67&startMessage=1>>
> Allowed memory size of 16777216 bytes exhausted (tried to
allocate 140
> bytes)
>
>
> Thanks for your help in advance,
> Philip
>
>
>
>
>
> On 5/24/07, *Erik A. Espinoza* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>> wrote:
>
> Make sure /etc/httpd/conf.d/php.conf doesn't have a post size
limit.
>
> Also be sure to include architecture, OS and other details
when asking
> for help whenever possible, such as the httpd error_log.
>
> Erik
>
> On 5/24/07, Philip Moy < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
> > Hi,
> > If I have an attachment > 1M and try to forward, I got an
error
> "page cannot
> > be display" or "blank page" under firefox.
> > The attachment less than 1M, then it is working fine.
> > Try to modify the php.ini to increase the value, still the
same.
> >
> > Any idea?
> > Thanks,
> > Philip
>
>
---------------------------------------------------------------------
> QmailToaster hosted by: VR Hosted < http://www.vr.org
> <http://www.vr.org/>>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
> For additional commands, e-mail:
> [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
>
>
--
|---------------------------------
| weberhofer GmbH | Johannes Weberhofer
| information technologies
| Austria, 1080 Wien, Blindengasse 52/3
|----------------------------------------------------------->>
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]