PHP code example of dominikzogg / contao-mysqli-socket
1. Go to this page and download the library: Download dominikzogg/contao-mysqli-socket library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dominikzogg / contao-mysqli-socket example snippets
$GLOBALS['TL_CONFIG']['dbDriver'] = 'mysqliwithsocketsupport';
$GLOBALS['TL_CONFIG']['dbSocket'] = 'path/to/the/mysql.sock';