Apache, MariaDB, PHP, phpMyAdmin Installation



index
Disabled back button Next Section
printable version

Section 0: Module Objectives or Competencies
Course Objective or Competency
The student will be able to set up their own local development environment include an Apache web server, PHP, MariaDB, and phpMyAdmin.

Section 1: Overview

In order to develop our database project most conveniently, you'll set up your own development environment.

This development environment will consist of the following package:

In the following sections we'll explain how to download and install each of these packages.

I strongly recommend that you also install a text editor like Notepad++, and some of the upcoming steps assume that you have done so.


Section 2: Set Up Apache Web Server

Begin by navigating to the Apache Lounge and downloading Apache.

Double click the downloaded apache httpd zip file and extract it to to C:\.

Using Windows File Explorer, navigate to the C:\Apache24\conf folder, right click on http.conf, and select "Edit with Notepad++".

Open the Command Prompt as an Administrator (here's how).


Section 3: Set Up MariaDB

Begin by navigating to the MariaDB Foundation. Scroll down until you see the MariaDB Server 10.9.3. The defaults should be fine if you are using Windows. Click the Download button and have it save the .msi file.


Section 4: Set Up PHP

Begin by navigating to the PHP site and scrolling down to the VS16 x64 Thread Safe section or VS16 x86 Thread Safe section. Download VS16 x64 Thread Safe or VS16 x86 Thread Safe zip file (Do not download the Debug Pack or the Non Thread Safe version).


Section 5: Set Up phpMyAdmin

Begin by navigating to the phpMyAdmin site and near the top right corner click the green Download button (I selected 5.1.3) and click Save.

Maria and Pi

This link has instructions to set up MariaDB on the pi: Link The process is similar to a Windows installations

This link has instructions to set up apache and phpmyadmin on the pi. You can skip the part about installing php. Then skip the part about installing MySQL since we already have MariaDB. The instructions for phpMyAdmin are in the extra tips section.

This will only host to the local network unless you configure your router to allow incoming http traffic.

X

How to check if PC is running in 64 bit or 32 bit Windows version

How to check if PC is running in 64 bit or 32 bit Windows version