StormRider
Member
Right, PDO is not supported. And HHVM as well The worst thing is that elasticsearch do not work with hhvm. So, waiting for new releases!
I'm using percona with mysqlnd, will it works?Got the homepage of my forum fully loading on HHVM 2.3.2 without any huge issues besides dodgy memcache support and having to switch to PDO, though it's still far from suitable for general use with xenforo until either hhvm supports mysqli or xenforo fully supports pdo.
Performance gain was nice though:
Before: 40-60ms (incl. 6ms mysql)
After: 20-24ms (incl. 6ms mysql)
And that's without any cache set in config.php, so it'll likely go a couple of ms faster still
I had 3 problems with HHVM:Got the homepage of my forum fully loading on HHVM 2.3.2 without any huge issues besides dodgy memcache support and having to switch to PDO, though it's still far from suitable for general use with xenforo until either hhvm supports mysqli or xenforo fully supports pdo.
Performance gain was nice though:
Before: 40-60ms (incl. 6ms mysql)
After: 20-24ms (incl. 6ms mysql)
And that's without any cache set in config.php, so it'll likely go a couple of ms faster still
$this->_httpClient = XenForo_Helper_Http::getClient($this->_server, array('keepalive' => true, 'timeout' => 45));
$this->_httpClient = XenForo_Helper_Http::getClient($this->_server, array('keepalive' => false, 'timeout' => 45));
return hash_hmac(self::$_hashAlgorithm, $data, self::$_key, 1);
return hash_hmac(self::$_hashAlgorithm, $data, self::$_key, true);
if ($this->_stmt === false || $mysqli->errno) {
if ($this->_stmt === false || $mysqli->mysql_errno()) {
throw new Zend_Db_Statement_Mysqli_Exception("Mysqli prepare error: " . $mysqli->error, $mysqli->errno);
throw new Zend_Db_Statement_Mysqli_Exception("Mysqli prepare error: " . $mysqli->mysql_error(), $mysqli->mysql_errno());
Looks like those fingers need more crossing:Finally I managed to run HHVM in prod! applelife.ru (please do not consider as an ad). Keeping fingers crossed
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
Looks like those fingers need more crossing:
The end of March has been given as a release date for the version that has mySQLi (http://www.hhvm.com/blog/3689/implementing-mysqli).Looks like version 2.4.0 is out now.
Not seeing any MySQLi-related things in the changelog, but better compatibility with ZendPHP is always a plus.
That's some amazing news.The end of March has been given as a release date for the version that has mySQLi (http://www.hhvm.com/blog/3689/implementing-mysqli).
Now let's see if all of your addons work with HHVMI have managed to run XenForo 1.3 with HHVM 3.0, no changes are needed for XenForo, it just works!
Doing some benchmarkNow let's see if all of your addons work with HHVM
We use essential cookies to make this site work, and optional cookies to enhance your experience.