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

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

New Here ,
Mar 23, 2016 Mar 23, 2016

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..

18.7K
Translate
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

Translate
LEGEND ,
Mar 24, 2016 Mar 24, 2016

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.

Translate
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
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

Translate
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

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.

Translate
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

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.

Translate
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