how to create a php file
how to create a php file
1 Answer
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
- in windows, you can access
answer Link