brew
. These get you started quickly. But they forego the learning experience and, as most developers report, can become difficult to manage.root
user so you can run the commands in this post without any permission issues:#
):phpinfo()
page in your DocumentRoot
.DocumentRoot
for macOS Mojave is /Library/WebServer/Documents
. You can verify this from your Apache configuration.phpinfo()
page in your DocumentRoot
:mysql
and mysqladmin
. However there are other commands that are helpful such as mysqldump
. Instead, you can update your path to include /usr/local/mysql/bin
.mysql_secure_installation
. While this isn't necessary, it's good practice to secure your database. This is also where you can change that nasty temporary password to something more manageable for local development.mod_rewrite
were disabled. You may consider enabling this now to avoid forgetting they are disabled in the future.#
):root
user so you can run the commands in this post without any permission issues:#
):phpinfo()
page in your DocumentRoot
.DocumentRoot
for Mac OS X El Capitan is /Library/WebServer/Documents
. You can verify this from your Apache configuration.phpinfo()
page in your DocumentRoot
:mysql
and mysqladmin
. However there are other commands that are helpful such as mysqldump
. Instead, you can update your path to include /usr/local/mysql/bin
.mysql_secure_installation
. While this isn't necessary, it's good practice to secure your database.mod_rewrite
were disabled. You may consider enabling this now to avoid forgetting they are disabled in the future.#
):