How can I set Project SDK as PHP?

Hello, I generated Laravel project and opened the folder with IntelliJ IDEA 2021.2.3 (Ultimate Edition).

And I tried to set Project SDK PHP but I didn't find PHP in the options.

I tried to select "Add SDK", but when I click Add SDK -> PHP Interpreter, an error dialog appeared.

In the preference dialog, PHP interpreter is configured.

How can I configure PHP as the project SDK? Or, no need to do it?


Comment actions Permalink

You don't need to configure PHP as a project SDK.

Specifying PHP Interpreter at File | Settings | Languages & Frameworks | PHP & corresponding tools under that node is enough.


Please sign in to leave a comment.