Unable to get installation correct...

I am running OS X 10.10; I just downloaded PhpStorm and installed it in the Applications folder.  I started it, and pasted some existing PHP code into it that I want to debug.  Now want to start the debugger to see what problems are in the code and I get this message:

Screen Shot 2015-07-17 at 1.23.52 PM.png
What is it looking for?  I assumed a web browser, so I set FireFox as my default browser, and now I get this error message:

Screen Shot 2015-07-17 at 1.25.39 PM.png

No matter how many times I click on Fix, I get the same message (Google Chrome is NOT the default browser, nor is it clicked in the list of browsers!).

I think I need some help here!  :D

SpokaneDude

7 comments
Comment actions Permalink

Hi there,

What is it looking for?

PHP interpreter.


I assumed a web browser, so I set FireFox as my default browser, and now I get this error message:

Screen Shot 2015-07-17 at 1.25.39 PM.png

No matter how many times I click on Fix, I get the same message (Google Chrome is NOT the default browser, nor is it clicked in the list of browsers!).

That's different one. This one looks like you are trying to do some JavaScript debug (which for the moment "properly" works in Chrome only).

So far it looks like you are mixing different things together here...

0
Comment actions Permalink

No, I don't have any JavaScript... just pure PHP...

0
Comment actions Permalink
Is Google Chrome the ONLY browser that will work?

Work for what? Can you clarify the context?

  • PHP? Browser does not matter here, at all.
  • JavaScript? "Debug JavaScript" type of Run/Debug Configuration supports Chrome only. Firefox is supported but it's done differently and requires you to prepare/configure Firefox in advance.
0
Comment actions Permalink

Never mind the last post... I don't want the debugger, I want the run, which works... thanks anyway!

0
Comment actions Permalink
Now, I want to run the debugger against it to see what it looks like (I need to modify the size of the table)... why won't it show?  or is the Debugger the wrong thing to use?  (sorry for the lame questions)


1. PhpStorm does not come with actual PHP that will execute your code -- you have to have your own / install it yourself. Depending on your OS and your skills you may install it from compiled sources, install as a part of some phpdev bundle (like MAMP/XAMPP/WAMP etc) .. or even compile it from sources.
2. You also have to install  and configure debugging extension in your PHP (because PHP does not come with any debugger already in that is supported by PhpStorm -- xdebug or Zend Debugger -- it has to be installed separately)
3. After you confirm that it's all configured -- only then you can debug

Links for tutorials/hows-tos are here:

0
Comment actions Permalink

You are answering your own questions / editing them faster than I'm able to type, :)

In any case: I'm glad you have resolved your issues and made it work.

0
Comment actions Permalink

Your last answer (post) did it... I've got a path to follow now.  Thank you very much, I appreciate your patience.  :D

Rolf (SpokaneDude)

0

Please sign in to leave a comment.