UPDATE The web module type is available since IntelliJ IDEA Ultimate 11. Use the web module type to create PHP projects in IDEA.
Old answer before IDEA 11:
This is a known limitation; IDEA does not support creating a project without any type of module, such as PhpStorm / WebStorm, because it supports many languages and technologies. But it also does not have a special module type for PHP or web projects.
For now, you should use a dummy Java module, you can omit the creation of the src directory and all other Java-specific elements, but you need to choose the type of Java module for your PHP / web projects.
This may change in future versions of IDEA, as we plan to support the opening of PhpStorm / WebStorm projects in IDEA and vice versa .
There is also a request for support for web modules in IntelliJ IDEA , which you can monitor progress.
CrazyCoder
source share