DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for PHP Hello World by Katheesh
Katheeskumar
Katheeskumar

Posted on

PHP Hello World by Katheesh

Hi my dear friends, This is my first blog. I will try to write blog to share my tricks and techniques with others.

Today we'll see how to write basic program of php server side scripting..

πŸ’₯ First Step

Need a basic software to run php scripts.
🎯 Apache server (xampp or wampp or lampp)
🎯 A text editor
🎯 A browser

πŸ’₯ Second Step

🎯 Start apache server.
🎯 Open text editor and type following codes

<?php 
    echo "hello world!"
?>
Enter fullscreen mode Exit fullscreen mode

πŸ’₯ Third Step

🎯 Save the file with .php extension on the apache server root folder (if you use xampp save on Xampp/htdocs).

πŸ’₯ Fourth Step

🎯 Open Browser
🎯 navigate to http://localhost/Your folder name/Your file Name

πŸ’₯ Conclusion

If you become a php script developer properly learn basic syntax's of php and need database concepts.

About Hello world.

"Hello, World!" program generally is a computer program that outputs or displays the message "Hello, World!". Such a program is very simple in most programming languages, and is often used to illustrate the basic syntax of a programming language. It is often the first program written by people learning to code.

😍 Have a good day.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.