2
I am having trouble starting the ibm_db2 Extension on my server.
It is an Ubuntu Server 16.04, running PHP7.0 + Nginx
I did the installation with
pecl install ibm_db2
I added the roads on etc/php/7.0/fpm/php.ini
extension=ibm_db2.so
But in phpinfo() it does not show that it was added to Extension
Any idea what I can do ?
EDIT
I solved the problem by adding Extension differently
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
Yes, it normal Restart.
– pokee
You’re using which one ?
– Fernando Souza