phpmysqlpdohhvmhacklang

How to Use Mysql PDO driver with hacklang/hhvm


I am getting a pdo exception "could not find driver" when trying to access MySql through PDO using hacklang/hhvm (compiled today). I tried installing php5-mysql but I'm not even sure that is helpful because I'm not sure of the relationship between php and hacklang especially in terms of extensions. What can I do to get PDO working on hacklang?

Update:

I found this list of supported extensions: https://github.com/facebook/hhvm/wiki/Extensions

PDO and MySql are both on there but should I be looking for mysql_pdo? Or is there some configuring I need to do?


Solution

  • I solved it merely by rebuilding from scratch per the advice on peoples on the IRC channel. I honestly don't know what went wrong.