![]() Uncomment the line that looks like this:.Open the php.ini file and search for xdebug.To wrap up the xdebug install we need to edit the /private/etc/php.ini file:.You should add "extension=xdebug.so" to php.ini Install ok: channel:///xdebug-2.2.0Ĭonfiguration option "php_ini" is not set to php.ini location Installing '/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so' If the install went well you'll see these messages at the end of the console log:.| You should add "extension=xdebug.so" to php.ini | | Documentation is available online as well: | There is an Installation Instructions screen which passes by quickly during the install.Re-run the xdebug install now that autoconf is available: sudo pecl install xdebug.Validate your install by running which autoconf (should return location).Run these commands to install autoconf:.In a Terminal / command prompt, navigate to the autoconf-x.yz folder (autoconf-2.69 at the time of writing).Install autoconf if you get the above error:.If you have upgraded from a previous version of XCode, you may still have autoconf available The lack of autoconf is causing the above error message. Note: From XCode 4.3 the autoconf tool has been removed from the XCode CLI Tools. ![]() Please check your autoconf installation and the done: 247,670 bytesĬannot find autoconf. Starting to download xdebug-2.2.0.tgz (247,670 bytes) Riondevmac:temp rion$ sudo pecl install xdebug You will probably see a couple of errors appear at this point (unless you already have autoconf installed):.(sudo may not be necessary, but I went for it based on the /usr setting I used above) I don't know where PECL comes into play- it looks to be the package installer tool. You'll get a final install screen message:Ĭurrently used php.ini (guess) : /private/etc/php.iniĪt this point the PEAR Package manager should be installed.You will be asked if you would like to alter /private/etc/php.ini.I changed mine from /Users/username/pear to /usr so I didn't have to muck with the $PATH variable This can be done by changing the Installation base ($prefix) setting in the installer's configuration screen. Change the install to a place that works for you.Note: If you DO NOT want a 'System-wide' install, don't use sudo Sudo php -d detect_unicode=0 go-pear.phar I only had to make one change to take into account the fact that Mac Lion doesn't ship with wget: The Unix/Linux/BSD Install Instructions are pretty straightforward.Give the PHP Interpreter a Name and select a Debugger. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |