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.
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)
(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
And wait for some time.two more options will come and modify them as follow:
Testing server folder:C:wampwwwsitename
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.