Dreamweaver Tips

(English/Japanese)

The way of recognizing  "inc" extension with Dreamweaver as PHP

Because Dreamweaver doesn't recognize "inc" as the file of PHP , coloring etc. are not done though some people use "inc" for the extension of the library file of PHP. This is the way of recognizing inc as an extension of PHP.

Modify MMDocumentTypes.xml. Usually, the file is in the following for Dreameweaver CS4

/Applications/Adobe Dreamweaver CS4/configuration/DocumentTypes/MMDocumentTypes.xml

And find "documenttype id="PHP_MySQL"" and add "inc" the both of winfileextension and macfileextension like the following.


<documenttype id="PHP_MySQL" servermodel="PHP MySQL" internaltype="Dynamic"
    winfileextension="php,php3,php4,php5,inc" ←←←←
    macfileextension="php,php3,php4,php5,inc" ←←←←
    file="Default.php" writebyteordermark="false">
                <TITLE>
                        <MMString:loadString id="mmdocumenttypes_14" />
                </TITLE>
                <description>
                       <MMString:loadString id="mmdocumenttypes_15" />
                </description>
                <dtdcontext&gthtml</dtdcontext>
        </documenttype>


Confirmed Version: Dreamweaver CS4, OS X 10.6.2

Dreamweaver doesn't start when Subversion is used as a version management of Dreamweaver.

Though Dreamwever reads the file of the site when starting, Dreamweaver acceses to the Subversion server when those files are maneged by Subversion.

If the Subversion server doesn't start in that case, Dreamwever might not start.

In that case, this is the way of starting Dreamweaver without Subversion for the time being.


  1. Move the folder of the site where uses Subversion somewhere.
  2. Dreamwever ask you to set the site when the site doesn't exist.
  3. Set the site without version management.
  4. Returns the moved folder to original place.

Confirmed Condition:Dreamweaver CS4, OS X 10.6.2