This is the first in the series of PHP tutorials.
In this tutorial i will be telling you how to download XAMPP and run your first PHP script.
Firstly you will need XAMPP so go to google and search "XAMPP".
The first option you get should be "Apache Friends - XAMPP"
Click on that and then click your opertating System.
please note for windows - You will want to click on the exe download for XAMPP unless you want to install it manually (not recommended) so click on the exe.
When you are installing it you will need to say yes to all of the options until you reach a part of the installation that promts you to choose between roughly seven options, below these options you will see a function saying - "x - Exit"
type "x" and tap enter, and XAMPP is now installed.
Secondly you will need to open the control panel which should be on your desktop if you installed properly.
open this and select the start button for apache.
This should then start apache, if it doesnt you may find that the problem is that XAMPP apache runs on port 80 in your computer and this will cause a problem if you have a system idle process overrunning in that port, (overrunning as in using CPU)
If this starts open your XAMPP folder that should be in drive C and find the htdocs folder and in that folder create another file called "test.php"
In this folder type the following code.
<?php
echo "test"
?>
Then open your internet and in the address bar type "
http://localhost/test.php"
This should then display "test" on your screen.
Thanks for viewing this tutorial.
PHP tut 1
Your Admin; Hondaman.
Edit:
Forgot to add, when you are done with the "test.php"
find your XAMPP folder and paste the file onto the folder "htdocs"
Then open the internet and type in the address bar "
http://localhost/test.php"