Thomas-Gelf / icingaweb2-module-eventtracker

2 stars 3 forks source link

after update php7 -> php8: "Sync (scom): The dblib driver is not currently installed" #46

Closed tectumopticum closed 1 year ago

tectumopticum commented 1 year ago

also re-compiling the PHP-connector didn't help here:

freetds-config-1.3.18-150400.89.1.x86_64.rpm freetds-devel-1.3.18-150400.89.1.x86_64.rpm freetds-doc-1.3.18-150400.89.1.x86_64.rpm freetds-tools-1.3.18-150400.89.1.x86_64.rpm libct4-1.3.18-150400.89.1.x86_64.rpm libsybdb5-1.3.18-150400.89.1.x86_64.rpm libtdsodbc0-1.3.18-150400.89.1.x86_64.rpm

zypper in lib.rpm zypper in freetds.rpm

cd php-8.0.29/ext/pdo_dblib/ /tmp/php-8.0.29/ext/pdo_dblib # phpize ./configure --with-php-config=/usr/bin/php-config --with-pdo-dblib=/usr--with-libdir=lib64 make make install

Am I missing something?

tectumopticum commented 1 year ago

/etc/php8/conf.d/pdo_dblib.ini was missing - copied old /etc/php7/conf.d/pdo_dblib.ini and everything works perfect