Skip to main content
Participant
Feb 22, 2010 4:10 PM UTC
Answered

DW CS4 - Design/Live view not available with PHP

I am working with PHP documents but both Live View and Design View are grey and unavailable with PHP documants open. I am using MAMP and have set up local info and testing server in the site set up dialog several times myself and with the help of some web search with no difference. Any thoughts on what may be some things to check would be greatly appreciated.

This topic is closed to new replies. Start a new post to keep the conversation going.
David_Powers
David_PowersCorrect answer
Inspiring
Feb 22, 2010 7:45 PM UTC

yes the ports are changed to 80 and 3306. if i do a preview in browser it comes up fine, just can't get the design and live view buttins working.


Have you changed your preferences to open PHP pages in Code view?

In the File Types/Editors category of Preferences, if you add .php to the list of file name extensions in "Open in code view", it disables Design view and Live View for that type of file.

7 replies

David_Powers
Inspiring
Feb 22, 2010 7:07 PM UTC

Check that you have your site definition set up correctly. See http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html.


Translate
GTZombieAuthor
Participant
Feb 22, 2010 7:26 PM UTC

yes that is actually one of the resources that i had foundand had gone through, a couple of times. it seems pretty basic, could there be some sort of setting elsewhere that may be affecting it?

Translate
David_Powers
Inspiring
Feb 22, 2010 7:34 PM UTC

Is Apache running? Did you change the ports in MAMP to use the Apache and MySQL defaults? http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_03.html#test_mamp.

Translate