OXID e-Commerce Admin, User and Developer Blog

euroblaze | OXID e-Commerce User Blog


xdebug on OXID Virtual Machine

Posted on December 11, 2011 by Ashant_Chalasani

Since the OXID VM is a good PHP developer tool, it would be great to have the xdebug enabled by default.  Until XDebug starts to comes pre-installed on the OXID VM, it can be installed on the VM’s in use, using:

apt-get install php5-dev

In your /etc/php5/apache2/php.ini, please insert either of these lines to load the xdebug.so shared object.

root@oxidvm:# find / -name 'xdebug.so' /usr/lib/php5/20090626+lfs/xdebug.so

zend_extension_ts=/usr/lib/php5/20090626+lfs/xdebug.so (for threaded use  of PHP) or
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so (non threaded use)

xdebug for OXID Virtual Machine

xdebug for OXID Virtual Machine

2 to “xdebug on OXID Virtual Machine”

  1. Most of this post is incorrect.

    You can only use zend_extension_ts= with PHP 5.2 and lower, as in PHP 5.3 the _ts suffix no longer works. The colour coding that you *show* is also not an Xdebug issue, but simply a setting in php.ini: html_errors=1

  2. Thank you Derick. The html_errors = 1 tip worked.

    I’m leaving the zend_extension_ts part in the original post for completeness for future readers.



Leave a Reply




↑ Top

Switch to our mobile site