Month: February 2020

Installing Moodle on Linux

First of all make sure that you have Apache, MySQL (or PostgreSQL), and PHP installed and configured on your system. On Ubuntu, you would type the following to install these…

Installing phpPgAdmin on Ubuntu

phpPgAdmin is a web-based administration tool for PostgreSQL written in PHP. It is a very nifty tool with a very convenient GUI interface. If you have used phpMyAdmin for MySQL,…

Where are PHP error logs

PHP errors are by default set to go to the apache error log. On Ubuntu, the error log is located at /var/log/apache2/error.log. If you are a PHP developer, it is…

What is Dependency Injection

Dependency Injection a big name for a very simple concept. Objects interact with other objects. A piece of data or an object that an object requires is its dependency. Objects…