The server works fine :) but the problem appears when I tried to install Xdebug extension included in Zend server distribution. Once I do install the extension the server stops working :( and I ... do not like this at all.
I've found a solution to the problem by building it from source.
First install some development tools:
$ sudo apt-get install build-essentialAfter this step is completed we can continue with downloading and installing xdebug.
$ sudo apt-get install autoconf
$ wget http://www.xdebug.org/files/xdebug-2.0.4.tgzCopy the compiled library:
$ tar -xzf xdebug-2.0.5.tgz
$ cd xdebug-2.0.5/
$ /usr/local/zend/bin/phpize
$ ./configure --enable-xdebug --with-php-config=/usr/local/zend/bin/php-config
$ make
$ cp modules/xdebug.so /usr/local/zend/lib/debugger/xdebug.soThen edit file /usr/local/zend/etc/ext.d/debugger.ini and comment everything you see uncommented :D (this probebly is not required but just in case do it)
and add the following line at the end of the file:
zend_extension=/usr/local/zend/lib/debugger/xdebug.so
Restart zend server:
$/etc/init.d/zend-server restartYou are done. And ... you can "live happily ever after" :D

No comments:
Post a Comment