APS: wordpress: default config connects to localhost:3306 instead of 127.0.0.1:3306
When installing wordpress via aps the wp-config file connect to the db_host "localhost:3306". With php7 this no longer works and a connection to "127.0.0.1:3306" is need to use tcp insted of socket connections. I think it is because php7 removed mysql and only offers mysqli (at least in my setup).