我想在HHVM机器上设置一个symfony2项目,
HHVM正在运行在FastCGI上,如hhvm教程中所述,因此在Debian上的apache2服务器后面运行.
我创建了一切,但当我尝试运行我的应用程序时,我收到以下错误:
ContextErrorException: 16777217: Declaration of Doctrine\DBAL\Driver\PDOConnection::prepare() must be compatible with that of Doctrine\DBAL\Driver\Connection::prepare() in /LOCATION/shared/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 30
Run Code Online (Sandbox Code Playgroud)
我认为这与HHVM中的PDO有关,但我使用class_exists('PDO')测试它,并说PDO已启用