Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/vendor/zendframework/zend-db/Zend/Db/Adapter/Driver/Pdo/Connection.php on line 281

Fatal error: Uncaught exception 'SFM_Exception_DB' with message 'Error while connecting to db' in /var/www/vendor/emoveo/sfm/src/SFM/DB.php:60 Stack trace: #0 /var/www/vendor/emoveo/sfm/src/SFM/Silex/SfmServiceProvider.php(46): SFM_DB->connect() #1 /var/www/vendor/silex/silex/src/Silex/Application.php(188): SFM\Silex\SfmServiceProvider->boot(Object(Eroshop\Application)) #2 /var/www/vendor/silex/silex/src/Silex/Application.php(529): Silex\Application->boot() #3 /var/www/vendor/silex/silex/src/Silex/Application.php(515): Silex\Application->handle(Object(Symfony\Component\HttpFoundation\Request)) #4 /var/www/web/index.php(3): Silex\Application->run() #5 {main} thrown in /var/www/vendor/emoveo/sfm/src/SFM/DB.php on line 60