I have a Centos 6.5 64 Bits system with multiple PHP Versions (5,3 std and 5.4 SCL) working properly as fas as VPS are concerned but I don’t seem to be able to make XDEBUG work on VPS with PHP 5.4 enabled. It seems the SCL version (5.4) does not have the proper PHP Development libraries included.
Is it possible to support XDEBUG on PHP 5.4 through SCL on a Virtualmin VPS?
Also if I login through SSH into a VPS with PHP 5.4 enabled I get the following in response to the php -v command:
$ php -v
PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53)
Copyright © 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies
with Xdebug v2.2.7, Copyright © 2002-2015, by Derick Rethans
Is this to be expected or should I see the PHP 5.4 version reflected?
If I open up a bash session with SCL I get the 5.4 version reflected but with the corresponding XDEBUG error reflected:
$ scl enable php54 bash
$ php -v
Failed loading /opt/rh/php54/root/usr/lib64/php/modules/xdebug.so: /opt/rh/php54/root/usr/lib64/php/modules/xdebug.so: undefined symbol: php_body_write
PHP 5.4.16 (cli) (built: Nov 19 2014 08:05:17)
Copyright © 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright © 1998-2013 Zend Technologies