php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57359 class.phpmailer.php not working with APC extension
Submitted: 2006-11-08 15:20 UTC Modified: 2010-11-03 19:03 UTC
From: krudtaa at yahoo dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.0 RC4 OS: Windows XP Pro
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: krudtaa at yahoo dot com
New email:
PHP Version: OS:

 

 [2006-11-08 15:20 UTC] krudtaa at yahoo dot com
Description:
------------
Using PHPMailer verision 1.73

Hi.

Using XP PRO with:
PHP 5.2.0
Apache 2.0.59

Getting this error in the browser:
Fatal error: Maximum execution time of 180 seconds
exceeded in pathToPhpmailer\class.phpmailer.php on line
788

It does NOT stop on same line every time in
class.phpmailer.php though

If I raises the execution time to let say 360 seconds I
started to get this error:
Fatal error: Out of memory (allocated 712245248) (tried
to allocate 178257909 bytes) in
pathToPhpmailer\class.phpmailer.php on line 814

If I commented this extension line in php.ini then it
started to work again:

extension=php_apc.dll

Do not know if the fault is caused by APC or phpmailer.

Apache used a wicked amount of memory while script was running. CPU usage up to 50% (dual core cpu) and memory usage between 170 000KB and 800 000KB.

I tested with one file attached. Size of attachement was 
14KB and used SMTP in phpmailer.



Reproduce code:
---------------
Se above

If you need any more details let me know.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-30 04:48 UTC] marcus at synchromedia dot co dot uk
FWIW I'm generally not seeing any problems with PHMailer under 
APC. You may however be suffering the recent problem in 3.0.13 
involving very high memory fragmentation which seems to affect 
any script, particularly on first run, and causes symptoms 
much like you describe. There are apparently some fixes in 
CVS, but I've not tried them yet.
 [2009-06-18 15:03 UTC] pfrsaliyapeiris at aol dot com
hiiiiiiiiiii
 [2009-09-24 22:38 UTC] kalle@php.net
Can you please try an updated version of PHP and APC to see if this issue have been solved?

Either by SVN or the newest APC version available from:
http://downloads.php.net/pierre/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 16:01:31 2024 UTC