Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 6264  / 2 Years ago, fri, august 5, 2022, 9:19:52

I followed these steps to install xdebug on ubuntu



Download Latest XDebug Source file
Unpack package, run: tar -xvzf xdebug-2.2.3
Run: cd xdebug-2.2.3
Run: phpize
Run: sudo apt-get install g++-multilib
Run: CFLAGS=-m32 CPPFLAGS=-m32 ./configure
Run: make
Copy .so file to folder with extensions, run: sudo cp modules/xdebug.so /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626
Edit /opt/lampp/etc/php.ini and add the line just before [Data] line, run: sudo gedit /opt/lampp/etc/php.ini
zend_extension = /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
Restart web server, run: sudo /opt/lampp/lampp restart


But after restarting xampp i'm getting error




Failed loading
/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so:
/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so:
undefined symbol: zend_execute_ex




I donot know what i did wrong ?



PHP version



php version
-----------
PHP 5.5.3-1ubuntu2.1 (cli) (built: Dec 12 2013 04:24:35)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies

phpize
------
Configuring for:
PHP Api Version: 20121113
Zend Module Api No: 20121212
Zend Extension Api No: 220121212

More From » xampp

 Answers
2

I do not know it is an answer or not.but after so much debugging and suggestion by @Braiam
i found that my xampp is 32bit, so i installed 64 bit xampp on my 64 bit ubuntu 13.10. which solve my all problems related to xdebug installation on ubuntu os.
( i installed xdebug from ubuntu software center. )
enter image description here


[#27823] Sunday, August 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sharall

Total Points: 407
Total Questions: 127
Total Answers: 121

Location: Saint Helena
Member since Fri, Mar 26, 2021
3 Years ago
;