starting with Intellij 13.1 which was released today, it is possible to configure additional SDKs in the Project Structure dialoge. While the old 13.0 version only contained the following three items when clicking on the new button:
The new 13.1 update has added several more options as can be seen on the screenshot:
When I click on PHP Interpreter then a directory chooser opens and ask me for the "Select Home Directory for PHP Interpreter". Which folder is the correct one under Ubuntu?
I have tried /usr/bin
and I get a message that says: Probably SDK installed in '/usr/bin' is corrupt, and when I choose another directory then the message says: The selected directory is not a valid home for PHP Interpretor.
However, when I go to Settings->PHP I have already correcly configured PHP 5.4 and when I open the details by clicking on '...' then I see the following:
Has anyone tried this? Am I doing something wrong, or is this a bug in IntelliJ maybe?
Open a new local shell/terminal window and type which php
this will tell you where the php binary is installed
in some ubuntu releases the repo's install php as php5, if that is the case you might need an ln -s
to php
Although in my PhpStorm (PS-138.2071) it looks like this :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With