I totally understand, that there are lot of threads online about this issue, but I just don't seem to get it working, because a lot of them do not match with issue I'm having.
I'm integrating some custom code (written by random guy). When I run it, I get this:
PHP Fatal error: Cannot redeclare _PEAR_call_destructors() (previously declared in /var/www/my_project/classes/_externals/PEAR.php:773) in /usr/share/php/PEAR.php on line 777
And I understand the problem - the code includes its own PEAR.php
with same (?) code, but earlier that the other from system includes.
So it throws me an error. How could I solve this problem? Is it possible to tell PHP to everide definitions and functions? I think that would do it.
I'm running PHP 5.3.10-1ubuntu3.11
with Suhosin-Patch (cli) Apache Apache/2.2.22