PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 11th, 2009, 06:22 PM
jsteinmann jsteinmann is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Aug 2009
Posts: 3 jsteinmann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 4 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old August 12th, 2009, 05:47 AM
wiesemann wiesemann is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 172 wiesemann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 2 m
Reputation Power: 3
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.

Reply With Quote
  #3  
Old August 12th, 2009, 01:33 PM
jsteinmann jsteinmann is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Aug 2009
Posts: 3 jsteinmann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 4 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > Pear Mail doesn't work after 5.3 upgrade and changing root PHP folder


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek