[pkg-horde] Fwd: php5-xdebug should be avoided in php-horde* packages

Mathieu Parent math.parent at gmail.com
Sat Dec 14 11:41:45 UTC 2013


(Forwarding to the proper mailing lists).

Hi Hans,

This question should probably be asked upstream. I'm forwarding to them too:
horde depends on Horde_Core
which has optional dep on Horde_Test
which depends on phpunit
which depends on CodeCoverage
which has optional dep on xdebug extension.

This extension creates the below PHP fatal errors:

---------- Forwarded message ----------
From: Hans Dingemans <hans.dingemans at tacticalops.nl>
Date: 2013/12/14
Subject: php5-xdebug should be avoided in php-horde* packages
To: math.parent at gmail.com


Hello,

First of all thanks for your excellent work on the packaging of horde
for Debain!

I wanted to share something with you, in the hope others will profit
from it in the long run; I ran into this error message, when using the
"autocomplete" function in IMP in the "To:  field, on an extremely
large (>200 contacts) contactlist.

PHP Fatal error:  Maximum function nesting level of '100' reached,
aborting! in /usr/share/php/Horde/Mail/Rfc822/List.php on line 382,
referer:
 followed by a lot of other error messages.

Also ActiveSync of one of my users, with extremely high number of
folders to synchronize, generated similar error messages.

The cause seems to be the xdebug extension, that limits the number of
recursions to 100 in PHP.

Simply purging php5-xdebug, and with it php-code-coverage,
php-horde-test and phpunit solved the problem.

To avoid people installing these modules in a production environment,
would it perhaps be a good idea to exclude these packages from the
"apt-get install horde" install list?

Best regards,

Hans Dingemans.


-- 
Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2159 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-horde-hackers/attachments/20131214/b51a9c35/attachment-0001.key>


More information about the pkg-horde-hackers mailing list