[CentOS] Unable to load dynamic library 'twig.so'

Tue Dec 4 13:37:33 UTC 2018
Richard <lists-centos at listmail.innovate.net>


> Date: Tuesday, December 04, 2018 14:12:11 +0100
> From: Ilyass Kaouam <ilyassikai at gmail.com>
>
> I have this problem.
> 
> Ca you please help me :
> 
>  php -v
> PHP Warning:  PHP Startup: Unable to load dynamic library 'twig.so'
> (tried: /usr/lib64/php/modules/twig.so
> (/usr/lib64/php/modules/twig.so: undefined symbol:
> zval_used_for_init), /usr/lib64/php/modules/twig.so.so
> (/usr/lib64/php/modules/twig.so.so: cannot open shared object file:
> No such file or directory))

You'll find twig.so in the epel repository (for both centos 6 and 7).