-
Xdebug on Ubuntu for WordPress
Turns out enabling Xdebug on Ubuntu for Eclipse PDT is easier than doing the same on Windows. The short version is installing the module as per this tutorial – http://ubuntuforums.org/showthread.php?t=525257[bash]sudo apt-get install php5-dev php-pearsudo pecl install xdebug sudo updatedblocate xdebug (this one finds the xdebug path)sudo gedit /etc/php/apache2/php.ini[/bash] Adding this line (/w the path):[bash]zend_extension=”/usr/lib/php5/20060613/xdebug.so”sudo /etc/init.d/apache2…
-
Xdebug for Fedora with PHP 5.3
In February I wrote a guide on setting up Xdebug for Eclipse usage under Ubuntu. Using a neat debugger while exploring an existing WordPress project is a must and among the two possibilities (the Zend one or Xdebug) I use Xdebug. However, setting it up on my ThinkPad took a bit more time due to…
-
Profile with Cachegrind
When it comes to larger projects than yet another WordPress blog, refactoring and additional memory optimization are required to move the project in the right direction. Cachegrind is a GPL profiler for applications. It simulates how the program interacts with the architecture – including cache layers from the standard configuration of the modern systems and…