Topic: Problems with extensions and fpm
Hi,
I'm using your repository and I really like the posibility to use different versions of php in parallel. Great work!
But I'm facing a problem. I'm using nginx with php-fpm (on CentOS7) an php versions 5.4 (from centos) and 5.5 (from your repo). Every site has its own fpm-pool, with own users, settings, etc. and nginx useses the correct socket per site.
One pool needs many PHP extensions (mysqli, oci8, snmp, ldap, ...) so I'm trying to make this available to just this one by uncommenting the modules in eth/php.d/$MODULE.ini and adding it to the pool in etc/php-fpm.d/$POOL.conf like:
php_admin_value[extension] = oci8.so
php_admin_value[extension] = snmp.so
php_admin_value[extension] = ldap.so
After restart of the php-fpm service only this pool sees the extensions and everything works for some minutes/request (I'm not sure exactly how long..). But suddenly it stops working and throws errors like "Fatal error: Call to undefined function oci_connect()". phpinfo() shows the modules as present. After a restart of the fpm service it is ok again.
Am I doing something wrong?