So PHPstorm is running the PHP code fine in its console when I click run; that's great but I want to see it in the browser.
So, I created a Built in Server inside project.
Now, when I clicked on Run -> Run Project, I'm getting error as:
"Error in argument 1, char 2: option not found S"
Help.
I see that you have pointed your PHP Interpreter to php-cgi
while it should be just php
...
php-cgi
does not support -S
option -- that's exactly what message says. You can verify that with php-cgi -h
command (and compare to php -h
output).