Author Topic: PDO_dblib  (Read 182 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PDO_dblib
« on: October 14, 2024, 02:41:47 PM »
Hello,

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

TIA

Offline
***
Re: PDO_dblib
« Reply #1 on: October 15, 2024, 07:31:41 PM »
Install freetds-devel using:

Code: [Select]
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:
Code: [Select]
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:
Code: [Select]
extension=pdo_dblib.sointo the file.

Adopt the instructions according to your paths and php version.

Offline
*
Re: PDO_dblib
« Reply #2 on: November 15, 2024, 09:23:43 AM »
Thank you for sharing this information...

Offline
*
Re: PDO_dblib
« Reply #3 on: November 16, 2024, 06:53:12 AM »
Thank you for sharing this information..
https://jcpenneykiosk.fyi