We are gonna use the Application which Name is XAMPP.

This program is pretty famous already but I just wanna introduce for beginner web developer.

Actually Me either also not developer for PHP.. but I had to do cause I'm just little developer in the company...

anyway I think I learned lots of things when I have worked with PHP and MariaDB.

And the programs that I'm gonna introduce are all free. so everyone can use easily  and those are not difficult too.

So Here is the list for programs

 

1.XAMPP(apache, mysql, tomcat etc.)

https://www.apachefriends.org/index.html

2.Sublime Editor

http://www.sublimetext.com/3

3.HeidiSql for sql
http://www.heidisql.com/download.php

 

 

 

Download XAMPP. I'm using Windows 7 now. so I choose XAMPP for Windows.

And after complete download, if you execute xampp, you can select programs that you want.

Apache and PHP are fixed. I just want Apache, MySql and PHP.

usually when we use JAVA Web programing, install Tomcat too. but this time We use only PHP.

so just install apache. But It's all up to you. :) 

 

This is for controlling MySql.

HeidiSQL is free but pretty good Program.

This is also easy to use.

Install and Log in to MySql with port in XAMPP.

I'll post later detail contents with this.

 

 

 Next step is Start server and DB.

You can check following Photo. and one more thing you have to do with Apache server.

If you click Config button in XAMPP Control Panel, you can see some menu.

In the menu, Click Apache(httpd.conf).

Then it will be opened with notepad. In next photo, red box is original one.

but you have to change your web route.

for instance, C:\webroot like this.

In my case, D:\Web\webroot. <-- I have index.php file in this folder

 

 

Next Step is writing PHP file like following photo.

and sublime text editor is also easy and free. just access url that I wrote, download and install it !!

 

 

 

 

 

Finally Last Step!!!

In your Internet address, Write down http://localhost.

actually It doesn't need to add "http://" but just in case..

Anyway Then You Can see your First Hello PHP. YAyyyyy!!!

 

PS. If you have some parts that you can't understand or it doesn't work, reply me.

Thank you !!!

 

+ Recent posts