Make plogger can work on PHP 5.x, MYSQL 5.X