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.Click the '+' button and select /usr/bin/php (default for Mac OS X 10.7 Lion).Click the '.' button next to Interpreter.Start PhpStorm and open PhpStorm -> Preferences -> PHP.Note: You may need to enable Web Sharing in System Preferences if you want to host php files from your local mac Restart the apache service for the change to take effect:.By default Apple ships a /private/etc/ file which can be renamed to php.ini using this command: Next we need to enable the php.ini file.Uncomment the line and save the file using Ctrl-x.Edit the /etc/apache22/nf file and uncomment the libphp line.Validate that php is installed by running which php at the command prompt.Thread about how XCode 4.3 is missing autoconf.Does not install CLI Tools by default in 4.3.Help getting PHP working on Mac OS X Lion 10.7.3.Once the tools were in place PhpStorm integrated nicely.Įdit: See Article 2 for information on how to debug PHP Web Applications Most of the effort involved setting things up on the Mac OS X side of things. It took a bit more effort to get PHP Debugging setup on my Mac dev box and I want to call out the step-by-step process I went through to it working. The JavaScript pieces work flawlessly out of the box- I'm able to debug in Firefox or Chrome on either my Mac or Windows Development box. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.I've been trying out JetBrains PhpStorm to see how well I'm able to use it for JavaScript and PHP Development work (PhpStorm is a Super set of WebStorm, their JavaScript IDE). ![]() Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. See this Help Doc for instructions on how to do so: What Operating System (OS) and OS version is being used?Īttach the Local Log. ![]() Which version of Local is being used? 6.3.1+5826 If you have screenshots that can help clarify what is happening, please include them! System Details idea folder, I do not see the workspace.xml file.ĭoes this happen for all sites in Local, or just one in particular?Īre you able to create a new, plain WordPress site in Local and access it in a Browser?ĭescribe the steps that others can take to replicate this issue. I have followed the steps you outlined and I still get the error shown on the screen. I have spent the entire night searching for a solution to this problem, and at least I can now see where the problem is. Xdebug + phpstorm ad-on not working Local Add-ons
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |