Just curious - Did you completely eliminate the Access Violation errors? Or
just make them appear less frequently?

To my knowledge, they're completely eliminated. Previously, I could not use the PEAR::Mail::smtp class more than once or twice without seeing the error, and then the error sometimes occurred up to 10 times in a row. I have tested my new code by repeatedly sending a mail message up to 30 times without one instance of the Access Violation. In my mind, 30 times is good enough to warrant saying that the problem is gone (especially since they occurred so frequently before).


I have (had?) a really bad problem where I was getting a lot of Access
Violations in my script - if I made my script shorter, they appeared less
frequently. I also fixed the problem by using the CGI version instead of
ISAPI (on IIS). Maybe your problem is along the same lines as mine.

I'm using the ISAPI module, actually, and no one has ever suggested that I switch to the CGI module, but then again, what is the ISAPI module for if I can't use it? ;-)


I have a feeling that PHP has a memory problem somewhere :/.

Jevon
(Windows XP Pro SP1; IIS 5.1; PHP5 RC1)

That may be so--at least on Windows. I am running Windows Server 2003, IIS 6, with PHP 5RC1 (latest snapshot) ISAPI module.


--
Regards,
 Ben Ramsey
 http://benramsey.com
 http://www.phpcommunity.org/wiki/People/BenRamsey

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to