New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

PDO_dblib

Started by Ultima, October 14, 2024, 02:41:47 PM

Previous topic - Next topic

Ultima

Hello,

How can I install PDO_dblib extension? I'm using almalinux 8.

TIA

cyberspace

Install freetds-devel using:

dnf install freetds-devel freetds freetds-libs

then download the php version you want to compile the library for:
https://www.php.net/downloads
extract files from the downloaded archive, then CD to:
php-X.X.X/ext/pdo_dblib
/opt/alt/phpXX/usr/bin/phpize
./configure --with-php-config=/opt/alt/phpXX/usr/bin/php-config --with-pdo-dblib
make
make install


create file pdo_dblib.ini in /opt/alt/phpXX/etc/php.d/ and put the line:
extension=pdo_dblib.so
into the file.

Adopt the instructions according to your paths and php version.

Dennis54

Thank you for sharing this information...

Dennis54

Thank you for sharing this information..
https://jcpenneykiosk.fyi