These are chat archives for arnaud-lb/php-rdkafka

Jul 2017
Jul 26 2017 13:11


Since restarting our web servers, librdkafka is failing to initialise. It's possible that PHP has been updated, but nevertheless it has been running PHP 7 throughout, and was working at one time. This is the error being logged in the apache error_logs:

PHP Warning: PHP Startup: rdkafka: Unable to initialize module\nModule compiled with build ID=API20151012,NTS\nPHP compiled with build ID=API20151012,TS\nThese options need to match\n in Unknown on line 0

Here's the current 'php -v' output:

PHP 7.0.18 (cli) (built: Apr 11 2017 14:25:57) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.18, Copyright (c) 1999-2017, by Zend Technologies