Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : ampps php7 xdebug on a mac failed error



Threaded Mode | Print  

 ampps php7 xdebug on a mac failed error (0 Replies, Read 1618 times)
olegg
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi, I did the following steps
Instructions

Download xdebug-2.5.3.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.5.3.tgz
Run: cd xdebug-2.5.3
Run: phpize (See the FAQ if you don't have phpize.
Run: ./configure
Run: make
Run: cp modules/xdebug.so /Applications/AMPPS/php-7.0/lib/extensions/ext
Edit /Applications/AMPPS/php/etc/php.ini and add the line
zend_extension = /Applications/AMPPS/php-7.0/lib/extensions/ext/xdebug.so
Restart the ampps

And got this error:
Code

Failed loading /Applications/AMPPS/php-7.0/lib/extensions/ext/xdebug.so:  dlopen(/Applications/AMPPS/php-7.0/lib/extensions/ext/xdebug.so, 9): no suitable image found.  Did find:
    /Applications/AMPPS/php-7.0/lib/extensions/ext/xdebug.so: mach-o, but wrong architecture


Also I tried running with
Code
./configure --enable-xdebug CC="gcc -arch i386" CXX="g++ -arch i386"
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 24, 2024, 12:28 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.019