Trying to configure dreamweaver for php is easy and would not take a long time.
Just Follow this steps1.Open wamp server or Install It
A wamp server needs to be running to run php, so open wamp server.
If you have already installed wamp server then you can skip this steps,for rest of you download wamp server from here….
If you dont know what is a wamp server click here….. After downloading wamp server install it on your pc and  turn it on.
2.Open DreamWeaver
3.Click on ” New site “
4..A new Window will open.on that there are two tabs “Basic†and “Advancedâ€Â.Click on ÓAdvancedâ€Â. After clicking change the setting as it appears in image.
You will notice i have given the following setting:
Sitename : sitename(this is the name of your site,you can of course give any name)
Remember your local root folder must be inside www folder of wamp,You can just type like in image,it will create the folders for you automatically
(to use wamp server you have to put ur php code in www root folder,i have here created another folder called sitename inside it,and any thing i write will be stored in it)
Http address:http://localhost/sitename/
(since you are testing php on your own pc the http address should be localhost and localhost/sitename is where your present site is  present.
Now †Dont Click Ok †but click on “Testing server†which is present in left hand side as in image.
If you get any popups just ignore it.
5.Another window will appear  when you click ” Testing server “
and on it select the following setting.
server model : PHP MySql
Access :Local/Network
And wait for some time.two more options will come and modify them as follow:
Testing server folder:C:wampwwwsitename
Url Prefix:http://localhost/sitename/
Now click ok.
6.Now your new site will be shown in bottom right side of dream weaver.To add files(php,html etc) right click on the site and select new file.
Now you should be able to develop and test php applications with Dreamweaver. Remember what you have done is created a new site in dream weaver,so to add any file you have to right click on the sitename and choose “new file”.You can of course cretae other sites(actually as much as you like) just remember to store it in www folder and not inside any used folders in www(which is located in c directory).
If you encounter any errors look at the pictures carefully they are tested on cs4,if the images could  not make you clear please free to ask in comment and i will answer you asap.









