| Viewed 128 times

how to create a php file


how to create a php file

PHP
1 Answer
Mohammad Qandeel
Answered
5

PHP acronym -Hypertext Preprocessor- is Web development language Implementing code on the server, so you need a server to execute the code.

You can download XAMPP, Which provide a local server and MySql databases

Follow these steps to make your first PHP file

  • make sure you have a code editor to write code
    • make a new file  with .php extension 
  • write some PHP code 
  • save the file 
  • open the file from browser throw Apache server
    • in windows, you can access localhost/myfile.php