Control Web Panel

WebPanel => Installation => Topic started by: Ultima on October 14, 2024, 02:41:47 PM

Title: PDO_dblib
Post by: Ultima on October 14, 2024, 02:41:47 PM
Hello,

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

TIA
Title: Re: PDO_dblib
Post by: cyberspace 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.
Title: Re: PDO_dblib
Post by: Dennis54 on November 15, 2024, 09:23:43 AM
Thank you for sharing this information...
Title: Re: PDO_dblib
Post by: Dennis54 on November 16, 2024, 06:53:12 AM
Thank you for sharing this information..
https://jcpenneykiosk.fyi