Installing Elgg on XAMPP. Once the installation is completed, it will prompt you to start the XAMPP controller panel. Open C: xampp apache conf httpd.conf file with notepad and uncomment these lines: Edit the php.ini file and change arg_separator.output = & to arg_separator.output = &. Join Bill Weinman for an in-depth discussion in this video Installing XAMPP on the Mac, part of MySQL Essential Training. I just upgraded my XAMPP to latest release and found myself trapped with no memory of how to install xdebug on a Mac with XAMPP. Install Xcode and autoconf Thanks to and pointing out that I had not noticed I had all the needed developer tools already in place from all the development I do on my Mac. According to Cedric’s experience, you’ll need to have at least Autoconf installed via or and that in turn will require you to install Xcode. Download autodesk combustion 2008 keygen only download mp3. Once you have Xcode installed, go to Xcode prefs -> Downloads pane and install ‘Xcode command line tools’ and when that is done, open terminal and enter: sudo xcode-select -switch /Applications/Xcode.app This will set the folder where the Xcode is installed so that all the command line tools find it. Now continue with Macports or Homebrew to install autoconf. Install XAMPP Developer package Building xdebug requires you to have php headers, so download and install corresponding developer package for. Download xdebug Download xdebug source from or checkout from GIT: git clone git://github.com/derickr/xdebug.git cd xdebug 3. PHPIZE Run phpize /Applications/XAMPP/xamppfiles/bin/phpize 4. Hi, I need to setup xdebug on my 64-Bit Mac OS X Leopard, and your post is the most relevant one I can find for my needs. I have XAMPP working fine and after I generate the xdebug.so file, i receive the following error: Failed loading /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so: dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so, 9): no suitable image found. Did find: /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so: mach-o, but wrong architecture Can you please help me? Hi Roosevelt, Can you check that you configured Xdebug with i386 support as XAMPP is still compiled for i386/ppc, not x86_64. To do that, run: lipo -info /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so And see that it lists i386 as an architecture. If it does not, please recheck step 4 above, to set appropriate flags for the compiler. BTW, I switched my XAMPP for a self-compiled apache and did not need xdebug anymore, so I haven’t recompiled it since. But I still hope this post is not that outdated and still aplies. I followed your instructions and ran into a problem with the phpize command, because autoconf wasn’t available on my system. To work this out I installed Xcode via the Mac App Store, then I installed the Xcode Command Line Tools (via the Xcode prefs -> downloads pane), then I had to set the Xcode folder with the command line tool xcode-select (I set the folder to /Applications/Xcode). After all that, I installed macports to get autoconf Without the Xcode command line tools, and the xcode-select configuration, macports refused to operate which explains all the steps. Hope this helps others as well. This has been the best explanation of why I get the architecture issue when attempting to use Xdebug in my dev environment. Dbx ddp digital dynamics processor manually. I have been going in circles getting AMPPS configured on a Mac OSX 10.8 with PHP debugging. I consistently get the wrong architecture. I tried both methods of changing the architecture listed here in the blog post (thank you), but I still get a x86_64 architecture when running ‘sudo make install’. I’ve included the terminal output below for reference to the process. Any ideas on why I can’t seem to compile in the right architecture would be appreciated. Xdebug-2.2.2 jeremiah$./configure --enable-xdebug --with-php-config=/Applications/AMPPS/php-5.3/bin/php-config CFLAGS='-arch i386 $CFLAGS' CCFLAGS='-arch i386 $CCFLAGS' CXXFLAGS='-arch i386 $CXXFLAGS' LDFLAGS='-arch i386 $LDFLAGS' checking for grep that handles long lines and -e.
0 Comments
Leave a Reply. |