Tiki Suite Development

Here are notes to convert an Installation to be able to develop & debug on it.

Update your PHP to 5.5




Install it on ClearOS:

yum install php-pecl-xdebug

or, if using PHP 5.5, you will need this:

yum install --enablerepo=remi-php55 php-pecl-xdebug

Then enable it, by creating a config file:

touch /etc/php.d/xdebug-custom.ini

Fill it up with these sample options:

; add this for xdebug:
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.remote_host =
xdebug.remote_port = 9000
; This might slow down the Apache2 server, but it's handy:
; Otherwise we need ?XDEBUG_SESSION_START=1 with each request:
xdebug.remote_autostart = 1

Restart Apache

service httpd restart

Install it on Ubuntu 14.04

If ever you use it, it's a bit different. Install:

apt-get install php5-xdebug

And the file to edit: (the same options are ok)


Restart Apache

service apache2 restart


Using Xdebug with the Vim editor on the server

Install the Vdebug Vim plugin:

mkdir -p ~/.vim
pushd ~/.vim
wget -O vdebug-1.4.2.tar.gz http://www.vim.org/scripts/download_script.php?src_id=21885
tar -zxf vdebug-1.4.2.tar.gz

Edit your ~/.vimrc config file and add this

let g:vdebug_options = { "break_on_open" : 0, }

Finally, to make install Vdebug's help tags, launch Vim and enter this command:

:helptags ~/.vim/doc

The help should work:

:help Vdebug

Then, to add a break point, open the PHP file you want to debug, go to some line and enter the command:


Do the same to remove it.

Type F5 to start debugging. F2 to continue. F6 twice to stop. Have fun!



See: Tiki Suite LDAP

Mostly PHP apps

Non-PHP apps

Upcoming Events

No records to display