Re: [PHP] PEAR clases don't work with PHP 5.3

[email protected] ("Michael A. Peters")
Newsgroups php.general
Message-ID <[email protected]>
Martín Marqués wrote:
> A few days ago I upgraded my development server with PHP 5.3, and
> found that some pear packages stopped working giving FATAL ERRORs,
> like this (this one is from package Image_Graph):
> 
> PHP Fatal error:  Call to undefined method
> Image_Graph_Plotarea_Element::Image_Graph_Element() in
> /usr/share/php/Image/Graph/Layout.php on line 73
> 
> I found that the problem is when calling the parents constructors like
> parent::ClassName.
> 
> Changing that fixes the problem, but there are alot of clases with this problem.
> 
> Are these problems being addressed?
> 

I found similar problems with some of the pear stuff I use when I tried 
5.3.0 awhile back. For the present, I am just sticking with 5.2.x branch 
and will give some time for the various pear maintainers to work out the 
kinks.

One thing you can do is file bug reports with the pear components you 
use. I did not because I moved my test server back to 5.2.x thus I would 
have no way of testing whether the fixes actually worked, but if you 
have a box you can dedicate to 5.3.x testing, file the bug reports and 
it will bring the problem to the attention of the pear maintainers.

Some pear packages are better maintained than others.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.