/** * For persistent connections it's all about the IPC key. Try to call i5_connect's * guts but specify the key. * * @param $host * @param $user * @param $password * @param array $options * @return mixed */ function i5_pconnect($host, $user, $password, $options = array()) { // Includes persistent connections, too. $options[CW_PERSISTENT] = true; $conn = i5_connect($host, $user, $password, $options); return $conn; }
public function init() { $this->_res = i5_connect($this->_connectionManager->getOption('host'), $this->_connectionManager->getOption('username'), $this->_connectionManager->getOption('password')); }