Setting up a PHP development environment for Dreamweaver. PHP pages need to be processed through a web server.
So, to develop with PHP in Dreamweaver, you need access to a PHP-enabled web server and the MySQL database. It's also useful to have phpMyAdmin, a graphical interface to MySQL. All three components are open source software that you can use for developing, testing, and deploying web applications. What's more, they're free. The Apache web server and PHP are preinstalled in Mac OS X. This section describes how to install MAMP on your Mac. If you already have working versions of Apache, MySQL, and phpMyAdmin, there is no need to install MAMP. Editing a WordPress theme with Dreamweaver CS5 – Part 2: Setting up your site. After you’ve successfully configured the database information, you are ready to begin the five minute WordPress installation process, in which you’ll set up blog details such as the title, admin username/password, and more.
Follow the on-screen instructions. For more details see Step 5: Run the Install Script in the WordPress codex. WordPress will then be installed and you will be directed to the admin login area for your WordPress site. This is where you can login and add posts, change themes, create pages, and much more. For now, simply close the browser. Install the theme files and set up your site in Dreamweaver With the local web server and WordPress installed, the next step is to set up a local Dreamweaver site using the sample WordPress theme for this tutorial.
Installing the theme files Download the sample theme for this tutorial, MyTheme.zip, and extract the contents to the WordPress themes folder. The WordPress themes folder can be found at the following locations: Setting up a PHP development environment for Dreamweaver. What do I need? In this tutorial we assume that your server has activated support for PHP and that all files ending in are handled by PHP.
On most servers, this is the default extension for PHP files, but ask your server administrator to be sure. If your server supports PHP, then you do not need to do anything. Just create your files, put them in your web directory and the server will automatically parse them for you. There is no need to compile anything nor do you need to install any extra tools.
Think of these PHP-enabled files as simple HTML files with a whole new family of magical tags that let you do all sorts of things. Let us say you want to save precious bandwidth and develop locally. You can either install these individually or choose a simpler way. Wojciech dot fornal at gmail dot com ¶ 1 year ago For really simple ad hoc server working at any location you want, you can use PHP's built-in web server (available since PHP 5.4.0).