From: ("omarabid")
Date:  21 Feb 2015 19:12:10 Hong Kong Time

[PEAR-BUG] Bug #9950 [Com]: PHP Strict errors even with E_STRICT Disabled

NNTP-Posting-Host:  null

Edit report at

 ID:               9950
 Comment by:       omarabid
 Reported By:      contact at omarabid dot com
 Summary:          PHP Strict errors even with E_STRICT Disabled
 Status:           Bogus
 Type:             Bug
 Package:          Mail
 Operating System: Centos
 PHP Version:      5.2.0
 New Comment:

So 8 years later and this is still not solved?

Previous Comments:

[2012-12-29 15:49:05] sarah

I've the same problem.
Please fix it.


[2012-12-18 19:17:44] nd4c

I'm not sure I understand the logic behind cellog's comment: this is a
PHP bug, not a PEAR bug.

Doesn't PEAR run on PHP?  So isn't it supposed to run correctly on any
standard PHP platform?  I don't think I've ever met a PHP programmer
that, when an error pops up, thought PHP should change and not their
program.  (Well, OK, we all blame PHP, but in the end we realize that
the responsibility is on the app developer not the platform developer.)


[2012-12-13 14:32:09] patri_ferrnandez

Never mind. I've solved my issue writing static word in function
setErrorHandling, inside Pear.php.



[2012-12-13 14:17:52] patri_ferrnandez

I'm having the same problem and i not using the Mail package. Apache
errors log:

PHP Strict Standards:  Non-static method PEAR::setErrorHandling() should
not be called statically.

Anyone has solved this problem? 

Thanks in advance.


[2012-11-28 08:45:44] erwin_moller

That are very harsh words, Jari Turkia.
I understand your frustration.
But always remember this: PEAR is offered for free, so is the MAIL
It seems support is dropped for PEAR/MAIL, or our complaint is ignored
for other reasons.
Whatever the reason: if you want the MAIL package to improve, you can
start helping yourself. You must ALWAYS remember you sound like a
spoiled kid when you DEMAND more support for free, only because you
received the software for free in the past. 
Bottom-line: People developed this in their own time (in most cases) and
gave it to the community for free. You cannot demand anything. If you
want it improved, you can do it yourself and share your results with the
community, like the authors did...

That aside: I share you frustration, and PEAR/MAIL isn't easily fixed
because of all the dependencies. If you want to fix it yourself you must
first become a PEAR expert.

If you want a solution that works out of the box, have a look at
phpmailer I posted 3 postings back.

Erwin Moller


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

Edit this bug report at