title: How do I set up PHP-debugging on Ubuntu 12.04 with Eclipse and XAMPP?
body: <p>I've been trying to configure this for quite some time now but I can't get it running properly. Done so far:</p>
  
  <ul>
  <li>Downloaded the latest version of xampp and moved it to <code>/opt/lampp</code></li>
  <li>Installed php5-xdebug with apt-get</li>
  <li>Changed implicit_flush to <code>On</code> in <code>/opt/lampp/etc/php.ini</code></li>
  <li><p>Added the following lines to the end of the ini file:</p>
  
  <pre><code>[xdebug]
  zend_extension="/usr/lib/php5/20090626/xdebug.so"
  xdebug.remote_enable=1
  xdebug.remote_handler="dbgp"
  xdebug.remote_port=9000
  xdebug.remote_host="localhost"
  </code></pre></li>
  </ul>
  
  <p>I've made sure to restart apache, but I still don't get an xdebug-section when showing <code>phpinfo();</code></p>
  
  <p>I think that Eclipse is configured properly, but I can't know for sure until I get xdebug to run.</p>
  
  <p>Please help, all suggestions are very welcome!</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Here is the output of <code>phpinfo()</code>: <a href="http://www.pasteall.org/35930" rel="noreferrer">http://www.pasteall.org/35930</a></p>
  
  <p><strong>Update:</strong></p>
  
  <p>I've downloaded Xampp 1.8.1 (I had previously xampp 1.8.0) to <code>/opt/lampp</code> and added the appropriate development files. I have both compiled Xdebug myself according to the guide at <a href="http://xdebug.org/wizard.php" rel="noreferrer">http://xdebug.org/wizard.php</a> and installed xdebug through <code>/opt/lampp/bin/pecl</code>.</p>
  
  <p>Now my php.ini looks like this:</p>
  
  <pre><code>zend_extension = "/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so"
  xdebug.remote_enable = 1
  xdebug.remote_port = 9000
  xdebug.remote_host = "localhost"
  xdebug.remote_handler = "dbgp"
  </code></pre>
  
  <p>I don't know what to do, <a href="http://xdebug.org/wizard.php" rel="noreferrer">http://xdebug.org/wizard.php</a> still reports that Xdebug isn't installed. Could it be a permission issue? Currently the permissions for the extensions are as follows:</p>
  
  <pre><code>-rwxr-xr-x 1 niklas niklas  88376 Sep 30 10:43 interbase.so
  -rwxr-xr-x 1 niklas niklas 184920 Sep 30 10:43 oci8.so
  -rwxr-xr-x 1 niklas niklas 118592 Sep 30 10:43 pgsql.so
  -rwxr-xr-x 1 niklas niklas 830886 Oct 10 15:10 xdebug.so
  </code></pre>
  
  <p>Should they be owned by someone else? Must I enable any additional options in php.ini? This is my current output of <code>phpinfo()</code>: <a href="http://www.pasteall.org/36135" rel="noreferrer">http://www.pasteall.org/36135</a></p>