ibm_db2 PHP7 Nginx

2

I'm having trouble starting the ibm_db2 extension on my server.

It's a 16.04 Ubuntu Server, running PHP7.0 + Nginx

I installed with

pecl install ibm_db2

I added the roads in etc / php / 7.0 / fpm / php.ini

extension=ibm_db2.so

But in phpinfo () it does not appear that it was added to the extension

Any idea what I can do?

EDIT

I solved the problem by adding the extension in another way

echo "extension=ibm_db2.so" > /etc/php/7.0/mods-available/ibm_db2.ini

ln -sf /etc/php/7.0/mods-available/ibm_db2.ini /etc/php/7.0/fpm/conf.d/20-ibm_db2.ini

ln -sf /etc/php/7.0/mods-available/ibm_db2.ini /etc/php/7.0/cli/conf.d/20-ibm_db2.ini

service php7.0-fpm restart
    
asked by anonymous 09.11.2016 / 18:03

1 answer

0

Have you given a restart in fpm? - restart php7.0-fpm

Take a look at insert the link description here

    
09.11.2016 / 18:17