Some fixes for PHP deployment and DB handling:

* Skip non-php apps when installing the PHP db drivers
* Fallback to MySQL driver
* Handle apps with no database config