PHP Hello World

Published: 04 Jul 2016 Category: web_dev

Download PHP package on http://windows.php.net/download/.

Install PhpStorm.

Create an “PHP Empty Project”, create php file hello_world.php with following code:

<?php
echo "hello world!";
phpinfo();
?>

Configure PHP setting in: File > Settings > Languages & Frameworks > PHP, such as PHP package dirctory and interpretor:

Right click hello_world.php > Open in Browser > Default, you can get an output on browser like: