Using PHPStorm Built-in Webserver with PHP CLI in Ubuntu ( 111 )



It could be as scenario that you need to create some static pages and later to ad some script code and test this quickly. Using the Built-in Webserver in PhpStorm and PHP7 brings great flow and results in did. The requirements are PHP7 installation and configuration in PHPStorm.

First step will be php installation:

sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql php7.0-intl php7.0-cgi -y

Second step is to set the Language in Storm like:

Go to > Set Lang & Frameworks 
	Select php7 
	Add path to php as: /include path "/usr/share/php"

By now you have to be able to see your php page like:


More info here:
Thanks for reading!