Starting a PHP project (not with PHPStorm)...
已回答
I'm trying to move my PHP project from netbeans to Intellij Ultimate. While I've found the instructions on Configuring PHP Development Environment, it's not clear to me the context of when I would perform these instructions.
Do I start with Intellij "Create New Project", select PHP, and go from there? I already have mamp (mac) installed so I believe I have most of the requirements covered, but not sure where within the Intellij process I would apply the settings.
thanks for any help on this.
请先登录再写评论。
Yes, you just create a new project with PHP module type. You can either specify the new empty directory in case it's a brand new project or you can specify the location of the existing project at the same step.
Thanks Serge, a bit more info if you could. I have mamp configured configured and installed at /Applicaitons/mamp and starting/stopping properly on port 8888.I've installed Laravel so if I hit localhost:8888 I get the default Laravel page. I've also generated a couple of test projects under htdocs that will generate as expected if I do something like:
http://localhost:8888/<projectname>
I have my new project at a separate location, e.g., ~/work/MyPHPProject
Which is where I've generated my Intellij project. I've configured my mamp server in the new project (name Mamp, location localhost port 8888). Now I'd like to have a Run/Debug configuration that starts the server at the index.php within the root of my new project location. How/where is this configured? If you could point me to documentation that would be great.