Note that the MySQL client library is not bundled anymore!
ERROR: Could not configure PHP

Click to expand...

The error was caused by the missing mysql development files. The mysql dev files are in the pacakge libmysqlclient12-dev when you have mysql 4 installed or in the package libmysqlclient15-dev if you have mysql 5 installed.