• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to view .php website files in browser locally using Dreamweaver?

New Here ,
Mar 23, 2016 Mar 23, 2016

Copy link to clipboard

Copied

Is it possible to run .php files on my local computer? I know if i open up a web browser and enter the file location into the URL for HTML files, the html file will run and display. Is there a way to do the same with .php files?

Using Dreamweaver..

Views

18.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 24, 2016 Mar 24, 2016

After installing XAMPP or MAMP, instructions for defining a PHP site in Dreamweaver are here: Setting up a PHP development environment for Dreamweaver | Adobe Developer Connection

Votes

Translate

Translate
LEGEND ,
Mar 24, 2016 Mar 24, 2016

Copy link to clipboard

Copied

anantk wrote:

Is it possible to run .php files on my local computer? I know if i open up a web browser and enter the file location into the URL for HTML files, the html file will run and display. Is there a way to do the same with .php files?

Using Dreamweaver..

To run php files locally you have to have a local server environment set up like MAMP or XAMPP. If you Google for either of those you will find downloads for your platform and information about them.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 24, 2016 Mar 24, 2016

Copy link to clipboard

Copied

LATEST

After installing XAMPP or MAMP, instructions for defining a PHP site in Dreamweaver are here: Setting up a PHP development environment for Dreamweaver | Adobe Developer Connection

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 24, 2016 Mar 24, 2016

Copy link to clipboard

Copied

If you are on a PC, you should install WAMP, its free and will allow you to view your PHP pages as they are meant to be.

The reason that some of your php pages were viewable and some not may be due to the fact that your early php pages may not have contained any actual php code. Just regular html?

If you eventually upgrade to CS4 then you would no longer need WAMP as the new Live View in CS4 will do the same thing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 24, 2016 Mar 24, 2016

Copy link to clipboard

Copied

floyd pierce wrote:

If you eventually upgrade to CS4 then you would no longer need WAMP as the new Live View in CS4 will do the same thing.

That's not correct. PHP pages need to be parsed (processed) by a web server. Live View is not capable of displaying PHP pages without the help of a local testing server such as WampServer, XAMPP, or MAMP.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines