Installing Web Server: Apache, PHP, and MariaDB

Install the following Apache, PHP and MariaDB applications and dependecies.

Enable the following modules in Apache.

Enable the following modules in PHP.

Run MySQL Secure Installation.

Disable Apache’s default site.

Restart Apache.

PHP Configuration

Open PHP’s ini file.

Use the search function in your text editor to find these setting and make the following changes (matching them except for your timezone if different and your desired upload file size).
Where I state to “un-comment” a field, I’m referring to removing the semicolon preceeding it.

Maximum upload file size. (In this example, the maximum file size is 10,240 megabytes or 10 gigabytes. Yours can be smaller or larger.)

Maximum size of POST data must match that of upload file size.

Un-comment and add your timezone. Click here to find your timezone.

Un-comment.

Un-comment.

Un-comment.

Un-comment.

Un-comment.

Un-comment.

Save file and exit editor. Then restart Apache.

×