I have been trying to tweak this for quite some time, but I cannot get it to work properly. Done:
- Download the latest version of xampp and transfer it to
/opt/lampp - Installed php5-xdebug with apt-get
- Changed implicit_flush to
On in /opt/lampp/etc/php.ini The following lines are added to the end of the ini file:
[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"
I definitely restarted apache, but I still don't get the xdebug section when showing phpinfo();
I think Eclipse is configured correctly, but I cannot know for sure until I get xdebug to run.
Please help, all suggestions are very welcome!
Edit:
Here is the result of phpinfo() : http://www.pasteall.org/35930
Update:
I downloaded Xampp 1.8.1 (previously xampp 1.8.0) into /opt/lampp and added the appropriate development files. I myself compiled Xdebug according to the manual at http://xdebug.org/wizard.php and installed xdebug via /opt/lampp/bin/pecl .
Now my php.ini looks like this:
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"
I do not know what to do, http://xdebug.org/wizard.php still reports that Xdebug is not installed. Could this be a resolution issue? Currently, permissions for extensions are as follows:
-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
Should they belong to someone else? Should I include any additional parameters in php.ini? This is my current output of phpinfo() : http://www.pasteall.org/36135
Niklas
source share