Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 690
tslater Avatar asked Mar 23 '14 08:03

tslater


1 Answers

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.

like image 151
tslater Avatar answered Nov 15 '22 01:11

tslater