Apache, PHP and PostgreSQL Configuration

Installing and setup Apache, PHP and PostgreSQL are simple and straight forward.  However, the PostgreSQL library (libpg) or pgsql may not enabled or loaded even all Apache, PHP and PostgrSQL are properly installed.  There are a lot of information online, yet just doesn’t solve the problem that PostgreSQL libpg or pgsql is not loaded.  Some information online recommends some installation or setup packages for ALL in ONE that will install and setup Apache, PHP and PostgreSQL properly.  However, some (… like me) might dislike to use these installation packages that will also install some other files as well.  We will share on how to make all these three items; Apache, PHP and PostgreSQL to be setup and configured properly.
Read More


Get content of an URL (useful for multi scheduled tasks)

I have a client’s API which located on different Domain. We are asked to access it by its URL with corresponding GET parameters. file_get_contents seems to be a simple way to make it works.
Read More