To create a Dreamweaver site that is intend work with PHP then you need to follow some additional steps. But before configuring PHP server you need set your
Define your Dreamweaver site first. In
previous article we see how to create a site. Now we will see how to configure PHP server for this site.
First from Dreaweaver CS5 site menu go to
site-->Manage Site then click on
Edit.
|
Manage Site |
Then form the site setup dialogue go to the server category. Click on the PLUS sign on the bottom.
|
Server Setup |
Now as I am going to work with My Local Apache server hence I do the following things. On the server name give a server name. I put it as Local server. On the Connect using drop down menu Select Local Network. Now In server folder you need specify the path. If you use
WAMP server on windows then browse to the path "
c:\wamp\www" and on MAC using MAMP it will be MAC:
/Applications/MAMP/htdocs. Here I am working on windows and with WAMP. Then create a new folder, it will be your testing folder. Then click open and then click select. The web URL will be the same for both
MAMP or
WAMP it will be http://localhost/mysite as I named the testing folder inside www folder as mysite. Changed it with your given name.
|
Server Setup |
Now click at Advanced tab. Don't worry about the remote server settings as we are now only setting the testing server only. So under testing server pull down under Testing server mode. Then select PHP MySQL from the Server Model.
|
Advance Setup |
Click on save then you will returned to the server category in setup dialogue in server list. Here with your new server selected uncheck remote and check Testing. This means this server will only be used as testing server.
|
Testing Server |
Now if all task are accomplished as said as above then you are ready to create your own PHP page through Dreamweaver.
Related Posts : Dreamweaver
0 comments:
Post a Comment