Added php-gd and sqlite support