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"
|