Image for post
Image for post
can you blame me for this one?

Let’s put it together, piece by piece, so we have a clear idea of what we’re running on our system and how to configure them.

Apache

LAMP or LAPP? …MySQL/MariaDB or PostgreSQL

Image for post
Image for post
Public Domain, https://commons.wikimedia.org/w/index.php?curid=77844026

MariaDB

Image for post
Image for post

Postgresql

Image for post
Image for post
Image for post
Image for post
type this to become the postgres user

PHP

Image for post
Image for post

LAMP

Image for post
Image for post
By Vicki Nunn — Own work, Public Domain, https://commons.wikimedia.org/w/index.php?curid=12048968

Getting things connected and working

Image for post
Image for post

Let’s test out Apache and make sure he is happy.

<html>
<title>Apache Testing</title>
<body>
<h2>Hey! Thanks, Tim B for helping me get Apache running on my local Arch Linux setup :-)</h2>
</body>
</html>
Image for post
Image for post

Let’s make sure Apache and PHP are playing well together

Image for post
Image for post

Now Apache and PHP are friends.

Image for post
Image for post
only showing public repos from github for obvious reasons
Image for post
Image for post

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store