Re: PEAR clases don't work with PHP 5.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux