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..
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
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.
Copy link to clipboard
Copied
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
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.
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.