To PHP installtion you can download Xampp or Wampp, I am introduce with xampp for windows.
Step 1: download xampp soft.
Link to download xampp: www.apachefriends.org/en/xampp-windows.html
Step 2: Install xampp server
When install success as image below.
Step 3: Start Xampp server:
Notice: install directory default is C:\xampp. In this directory includes:
We only notice "htdocs" directory beacause this directory contain your application.
Step 4: create a application "Welcome to PHP tutorial example"
In "htdocs" directory create a folder "hello" and in this folder create a file "index.php"
Open file "index.php" by notepad or editor other. Copy code bellow and parse into file "index.php"
<?php
echo "Welcome to PHP turorial example on blogger";
?>
Save and running application by open browser as firefox and type "http://localhost/hello/index.php": result as image bellow
Summary:
I was introduce install a simple web server and a application "hello". I hope this tutorial is understand for beginer.
If you have with problem install or writing code, please contact me via email: qgt2004@gmail.com
Thank all!
No comments:
Post a Comment