This may be a PECL bug, but I've decided to post it here to verify. Today I was requested to install the xdebug pecl extension to a CPanel server.
Everything went well with the WHM PECL installer but once it was done, there were thousands of errors in the error logs that looked like the following:
[28-Dec-2010 13:00:45] PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
This is because in PHP.ini, the extension was placed as follows:
extension="xdebug.so"
It really should be:
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
Is this a CPanel related bug or a PECL related bug?
Thanks,
Phil
Everything went well with the WHM PECL installer but once it was done, there were thousands of errors in the error logs that looked like the following:
[28-Dec-2010 13:00:45] PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
This is because in PHP.ini, the extension was placed as follows:
extension="xdebug.so"
It really should be:
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
Is this a CPanel related bug or a PECL related bug?
Thanks,
Phil