Copy link to clipboard
Copied
All,
This is fairly urgent. I'm working with Dreamweaver CS5 and am having issues working with PHP files. I have confirmed that I have PHP and MySQL installed an working properly. When I open a PHP file, it opens in code view and I can't use design view (grayed out). Also, the code is all black - no color coding. The Databases, Bindings, and Server Behavior panels are grayed out and I can't access them to make a database connection.
I have already tried modifying the Extensions.txt file, as well as the XML file that determines what extensions Dreamweaver recognizes. Nothing has helped.
Has anyone run into this issue before? Any and all help is greatly appreciated.
Thanks!
Ike
Copy link to clipboard
Copied
What extension does the php file have? Can you post an example of the code from a problem page? Is it possible there's something on it that DW doesn't like?
Copy link to clipboard
Copied
bregent,
Thanks for taking a look at this. the file uses the .php extension.
Here is the very complex code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
Welcome to CW.com 2.0 - IIS
<?php phpinfo(); ?>
</body>
</html>