Php Storm and Magento 2 development

Answered

Hi,

I am in the process of evaluating phpStorm to replace eclipse.  Here is my environment.

windows 7, php 5.6, xDebug, Magento 2.0.2, Composer

I installed Magento code using github from within phpStorm.  When I tried to run index.php using 'Open in Browser' option, I get a blank screen.  I am supposed to get a setup screen.  Did anybody run into this situation?

Any help is appreciated.

Thanks,
Srinivas

2 comments
Official comment

Hello,

Do you have local web server or do you want to use PHP built-in one?

For a built-in one you might need to create a Run configuration as described here: <https://www.jetbrains.com/help/phpstorm/10.0/php-built-in-web-server.html>. Set the document root according to the location of "index.php" and access it in browser via the specified port.

We would recommend to use a separate web server.

Hi Vladimir,

I forgot to mention I was trying to use IIS as webserver.  Thanks for the suggestion, I am using inbuilt webserver for now and it seems to work.

Srinivas

0

Please sign in to leave a comment.