(20160616 — The steps in this post were amended to address changes in recent versions of software.
Minor editorial corrections were also made — iceflatline) This post will describe how to install and configure Apache, My SQL, PHP and php My Admin on Free BSD for basic local web development.
Note: if you elected not to install php My Admin, then you need only add the Files Match directives.
where you will see the php My Admin setup Overview page.
php My Admin supports a wide range of operations with My SQL, including managing databases, tables, fields, relations, indexes, users, permissions, etc., from an easy-to-use web page, while you still have the ability to directly execute any SQL statement from the command line if you prefer.
The versions of software discussed in this post are as follows: The following steps discussed in this post assume you have the Free BSD Ports Collection installed.
If not, you can install it using the following commands: Now let’s add the extensions to PHP to round out its capabilities.