|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Pear Mail doesn't work after 5.3 upgrade and changing root PHP folder
when I use any scripting that has php mail, I get the following:
"PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\PHP\PEAR\Mail.php on line 154" I upgraded to php 5.3 and installed in c:/php instead of the default program files folder. Previously with 5.2.10 I had it installed at the default location. Don't know if any of that is involved in this problem. I reinstalled PEAR and all of the packages. Uninstalled and reinstalled mail several times. I get know error messages from command lines with installs. Environmental variables point to the new php root folder. php.ini include files point to the correct place to find PEAR C:\php\pear I've uninstalled and installed pear several times, and that's no easy chore since php 5.3 doesn't include go pear, and go pear is broken in 5.3 because of some hash nonsense. What is going on with pear? Keep in mind, no programming changes have occurred with the websites that use pear mail. The scripts using pear mail and mail_mime still send the email, however they show this error message. PLEASE HELP ~~~~ SOS ~~~~~ Before my head explodes ![]() |
|
#2
|
|||
|
|||
|
This is only a warning, Mail will still work fine. Mail is a PHP 4 package and can't be 100% E_STRICT compatible. I.e., the solution is to remove E_STRICT from your error_reporting level.
|
|
#3
|
|||
|
|||
|
thank you. after hours of wasted time, i realized that the new php 5.3 has added new error reporting called deprecated, something it never had before. So now my reporting has to block notices and deprecated warnings.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > Pear Mail doesn't work after 5.3 upgrade and changing root PHP folder |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|