First, download
PHP Environment Building (Environment Integration tool): Baidu search "Appserv", and then directly download
Dreamweaver CS5 Development tools:
Download Address: Http://pan.baidu.com/s/1i54jHcT
Second, installation
1, Appserv installation: To pay attention to set the server port and database password, the other next to be able to install the following directory:
2. Dreamweaver installation: Directly open the Quick install under Adobe Dreamweaver CS5, then install it.
Third, run PHP files on Dreamweaver
1. New site:
(1) Click Site--Manage site
(2) New site (Note the site folder, the file path is the Appserv installation directory under the WWW directory), the site name can be customized
2. Building Services
(1) Click on the server-"+"
(2) Configure the service, the name can be customized, the connection method is local/network (if there are other services, you can modify), the server folder for the site to create a folder in the WWW directory (how to create a folder in the site: ① can be created manually on the local directory; ②: "Save" before creating the service. Then right-click on the site on the lower right of the Dreamweaver tool to create a new folder), the Web url is the prefix URL (customizable) accessed from the browser, turn on "advanced" and change to the second picture.
(3) Save.
3. New PHP file
Right-Create a new file (suffix name) on the site-built folder.
4. Running PHP files
(1), right-click on php file--Preview in Browser
(2), in the browser to enter the corresponding URL access
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the use of PHP environment building and tools (Dreamweaver), including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.