Skip navigation
Currently Being Moderated

Connecting PHP to an existing site in DW

Jul 7, 2012 9:47 AM

Tags: #php

How do I connect PHP to a existing site. I've been using MS Expressions for my PHP? I would like to use Dreamweaver CS5 to write PHP to an existing site. Dreamweaver had a message saying it could find the correct server.

  • Currently Being Moderated
    Jul 7, 2012 10:29 AM   in reply to nevitt99

    "Setting up a PHP Environment in Dreamweaver"




    Nancy O.

    Mark as:
  • Currently Being Moderated
    Jul 7, 2012 10:50 AM   in reply to nevitt99

    PHP is a server-side programming language used in scripts and dynamic web pages.  You need a server to parse PHP pages locally.  Do you have a local testing server installed and defined in DW yet?

    PHP works when I use Expression Web, but not with Dreamweaver.

    What does "works" mean?  What happens when you open a page in MS EW that isn't happening when you use DW?  Are you getting error messages?  What do you see in Code View?

    Do I need to connect the PHP like CSS?

    Huh?  Can you show us your code?



    Nancy O.

    Mark as:
  • Currently Being Moderated
    Jul 7, 2012 11:32 AM   in reply to nevitt99

    Did you define your local testing server in DW? 

         Site > Manage Sites > Edit...


    Screenshots below are for WAMP server on C drive:



    Under Advanced tab:


    Hit Save.


    Final screen should look like this:


    Finally, make sure your testing server is Online.




    Nancy O.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points