Jump to content

can't preview view PHP files in dreamweaver


Recommended Posts

Hi all, i'm new to PHP. i've downloaded wamp5, started all services, uninstalled IIS (to be on the safe side) and i have a problem. When i type into my browser a file that is in wamp/www root for e.g http//:localhost/index.php, it displays the file i put there correctly. However, when I try to open the site in dreamweaver, ever though I've made all the connections, i can't seem to preview the php files. It allows me to open them in dreamweaver, but when i hit f12 it asks me ifi want to open or save the file. very strange. What am i doing wrong anyone?? >:(

Link to comment
Share on other sites

I'm with this guy. I too have dreamweaver and have to preview PHP in Firefox. I would like to be able to via the php when I click "Design." I was able to connect to my localhost MySQL under the Application>Databases but can't for the life of me figure out how to configure the PHP so I can preview it within DreamWeaver MX 2004.

 

Any help would be great.

 

Thanks in advance.

 

Shannon

Link to comment
Share on other sites

  • 3 weeks later...

This comes up a lot with Dreamweaver users.

 

Anyone who works with dynamic websites and uses a Windows based PC should download and instal WAMP (Windows ,Apache, MySQL, PHP). http://www.wampserver.com

 

It is a packaged binary suite that turns a windows PC into a web server.

 

You would designate c:wamp/apache/www as your server in DW site editor. Then synchronize your local site to the www folder.

 

This will automatically make your site viewable in FF and IE as http://localhost. It comes with phpmyadmin so you can create your MySQL databases as easy as you do on a remote server.

 

All serverside code will work with WAMP (except, of course ASP and Windows based SSC).

 

You can also tweak the apache conf file and turn on/off/download php modules.

 

You would even then be able to use a CMS like Joomla, Drupal, PHPNuke, etc. locally.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.