{"id":920,"date":"2019-07-12T19:13:36","date_gmt":"2019-07-12T17:13:36","guid":{"rendered":"https:\/\/eugene.dullaard.nl\/?p=920"},"modified":"2019-08-08T09:12:02","modified_gmt":"2019-08-08T07:12:02","slug":"roundcube-on-synology","status":"publish","type":"post","link":"https:\/\/eugene.dullaard.nl\/?p=920","title":{"rendered":"Roundcube on Synology"},"content":{"rendered":"\n<p><em>DSN<\/em>&nbsp;(<em>write): NOT OK<\/em>(<em>SQLSTATE[HY000] [2002<\/em>]&nbsp;<em>No such file or directory<\/em>) .<\/p>\n\n\n\n<p>This is what you see when you try to configure a RoundCube installation on a virtual host within webstation on a Synology NAS using MariaDB 10 as a backend database (maybe 5 as well, as I&#8217;m not using that).<\/p>\n\n\n\n<p>The solution is to modify the PHP profile you created for RoundCube (or if you didn&#8217;t create a specific one maybe do so now in order to avoid issues with other virtual hosts on the platform).<\/p>\n\n\n\n<p>On the advanced settings window of your PHP profile, choose the &#8216;core&#8217; tab and modify the below two settings in order to get your RoundCube installation connected to your backend database:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>mysqli.default_socket &#8211; \/run\/mysqld\/mysqld10.sock<\/li><li>pdo_mysql.default.socket &#8211; \/run\/mysqld\/mysqld10.sock <\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>DSN&nbsp;(write): NOT OK(SQLSTATE[HY000] [2002]&nbsp;No such file or directory) . This is what you see when you try to configure a RoundCube installation on a virtual host within webstation on a Synology NAS using MariaDB 10 as a backend database (maybe 5 as well, as I&#8217;m not using that). The solution is to modify the PHP &hellip; <a href=\"https:\/\/eugene.dullaard.nl\/?p=920\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Roundcube on Synology<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[123,122],"class_list":["post-920","post","type-post","status-publish","format-standard","hentry","category-it","tag-roundcube","tag-synology"],"_links":{"self":[{"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=\/wp\/v2\/posts\/920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=920"}],"version-history":[{"count":3,"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=\/wp\/v2\/posts\/920\/revisions"}],"predecessor-version":[{"id":927,"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=\/wp\/v2\/posts\/920\/revisions\/927"}],"wp:attachment":[{"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eugene.dullaard.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}