OS:Debian 8 64bit
WebServer: Openresty(based on nginx dev)
PHP interpreter: HHVM 3.13.1
get errors:
/var/log/hhvm/error.log:
Exception handler threw an object exception: Error: Cannot declare class Drupal\\Core\\Utility\\Error because the name was implicitly used on line 99; implicit use of names from the HH namespace can be suppressed by adding an explicit `use' statement earlier in the current namespace block: (Line: 189, Char: 1) in /var/www/html/core/lib/Drupal/Core/Utility/Error.php:12\nStack trace:\n#0 /var/www/html/vendor/symfony/class-loader/ApcClassLoader.php(110): include()\n#1 /var/www/html/core/includes/bootstrap.inc(563): Symfony\\Component\\ClassLoader\\ApcClassLoader->loadClass()\n#2 (): _drupal_exception_handler()\n#3 {main}
\nFatal error: Uncaught Error: Cannot declare class Drupal\\Core\\Utility\\Error because the name was implicitly used on line 99; implicit use of names from the HH namespace can be suppressed by adding an explicit `use' statement earlier in the current namespace block: (Line: 189, Char: 1) in /var/www/html/core/lib/Drupal/Core/Utility/Error.php:12\nStack trace:\n#0 /var/www/html/vendor/symfony/class-loader/ApcClassLoader.php(110): include()\n#1 /var/www/html/core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php(64): Symfony\\Component\\ClassLoader\\ApcClassLoader->loadClass()\n#2 /var/www/html/core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php(92): Drupal\\Core\\EventSubscriber\\ExceptionLoggingSubscriber->onError()\n#3 /var/www/html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): Drupal\\Core\\EventSubscriber\\ExceptionLoggingSubscriber->onException()\n#4 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(216): Drupal\\Component\\EventDispatcher\\ContainerAwareEventDispatcher->dispatch()\n#5 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(70): Symfony\\Component\\HttpKernel\\HttpKernel->handleException()\n#6 /var/www/html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#7 /var/www/html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\\Core\\StackMiddleware\\Session->handle()\n#8 /var/www/html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\\Core\\StackMiddleware\\KernelPreHandle->handle()\n#9 /var/www/html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle()\n#10 /var/www/html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle()\n#11 /var/www/html/core/lib/Drupal/Core/DrupalKernel.php(626): Stack\\StackedHttpKernel->handle()\n#12 /var/www/html/index.php(19): Drupal\\Core\\DrupalKernel->handle()\n#13 {main}
Exception handler threw an object exception: Error: Cannot declare class Drupal\\Core\\Utility\\Error because the name was implicitly used on line 99; implicit use of names from the HH namespace can be suppressed by adding an explicit `use' statement earlier in the current namespace block: (Line: 189, Char: 1) in /var/www/html/core/lib/Drupal/Core/Utility/Error.php:12\nStack trace:\n#0 /var/www/html/vendor/symfony/class-loader/ApcClassLoader.php(110): include()\n#1 /var/www/html/core/includes/bootstrap.inc(563): Symfony\\Component\\ClassLoader\\ApcClassLoader->loadClass()\n#2 (): _drupal_exception_handler()\n#3 {main}
HHVM config files:
/etc/hhvm/php.ini
; php options
strict_types = 0
session.save_handler = redis
session.save_path = "tcp://localhost:6379"
session.gc_maxlifetime = 1440
memory_limit = 256M
; hhvm specific
hhvm.log.level = Warning
hhvm.log.always_log_unhandled_exceptions = true
hhvm.log.runtime_error_reporting_level = 8191
hhvm.mysql.typed_results = false
/etc/hhvm/server.ini
; php options
pid = /var/run/hhvm/pid
; enable php7
hhvm.php7.all = 1
hhvm.php7.scalar_types = 0
; hhvm specific
hhvm.server.port = 9000
hhvm.server.user = www
hhvm.server.group = www
hhvm.server.type = fastcgi
hhvm.server.default_document = index.php
hhvm.php_file.extensions["php5"] = ".php5"
hhvm.log.use_log_file = true
hhvm.log.file = /var/log/hhvm/error.log
hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc
but using php7-fpm is OK.