Creating & Saving PHP file

Creating PHP file

PHP file can be created with any text editor.
To start learn PHP, we recommend that you use Notepad, Notepad 2, Notepad++, etc.
Put Following Code in Text Editor.


    echo "Hello PHP!";

Saving PHP file

Save the file as simple_php_file.php


Make sure that file extension is php otherwise it will not execute.

Subscribe us on Youtube

Share This Page on

Ask Question