Can't use PHP in IntelliJ IDEA Ultimate

Answered

Hi, i am writing because actually i am working on different school projects and some use PHP while other use JSP as server-side technology. Until the projects were all in PHP i was successfully using Phpstorm, but because now i have to use also JSP i would like to migrate to IntelliJ that seems to be able to handle both type of projects.

However, i am unable to make PHP work on IntelliJ. I am trying to replicate the same settings from Phpstorm (which works on the same machine, btw) but when i want to set the PHP interpreter there is not a voice for "PHP" under File | Settings | Languages and Frameworks (i attach a screenshot). What is the problem?

Thank you in advance

1
1 comment

You need to configure a PHP module in the project (either by creating a new project with PHP module or adding a PHP module to the existing project that already has other module types, like Java):

Make sure you have installed and enabled PHP plug-in first: https://www.jetbrains.com/help/idea/installing-updating-and-uninstalling-repository-plugins.html.

1

Please sign in to leave a comment.