Skip navigation
nevitt99
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.

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

    "Setting up a PHP Environment in Dreamweaver"

    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html

     

     

     

    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:

     

    http://forums.adobe.com/servlet/JiveServlet/showImage/2-4541063-210490/CS6-testingServer1.jpg

     

    Under Advanced tab:

     

    http://www.adobe.com/content/dotcom/en/devnet/dreamweaver/articles/setup_php/_jcr_content/articlecontentAdobe/image_12.adimg.mw.450.jpg/1279007071618.jpg

    Hit Save.

     

    Final screen should look like this:

     

    http://forums.adobe.com/servlet/JiveServlet/showImage/2-4541063-210489/CS6-testingServerFinalScreen.jpg

    Finally, make sure your testing server is Online.

     

    http://forums.adobe.com/servlet/JiveServlet/showImage/2-4540341-210434/WAMP-taskbar-online.jpg

     

     

    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