Hi.
I'm trying to compile and enable pdo_dblib, but isn't loading. I've downlaoded source code of PHP 7.1.16 (which is the same version that I'm using in my cpanel), entered dir 'ext/pdo_dblib' and done these commands to compile:
/opt/cpanel/ea-php71/root/usr/bin/phpize
./configure --with-php-config=/opt/cpanel/ea-php71/root/usr/bin/php-config --with-pdo-dblib=/opt/cpanel/freetds --with-libdir=/lib64
make
All runs fine. After 'make install', module are installed in correct location (/opt/cpanel/ea-php71/root/usr/lib64/php/modules/pdo_dblib.so). I also have enabled this module in correct php.ini, but when I try to load any script (including phpinfo()), I can't see this module.....module isn't loaded! And I can't see any errors, nothing.
Also tryied to manuallo load module with:
/opt/cpanel/ea-php71/root/usr/bin/php -dextension=/opt/cpanel/ea-php71/root/usr/lib64/php/modules/pdo_dblib.so myphpfile.php
But still not working, module looks not loaded and no errors. My question is: there is any block or anything else that I need to do?
I'm trying to compile and enable pdo_dblib, but isn't loading. I've downlaoded source code of PHP 7.1.16 (which is the same version that I'm using in my cpanel), entered dir 'ext/pdo_dblib' and done these commands to compile:
/opt/cpanel/ea-php71/root/usr/bin/phpize
./configure --with-php-config=/opt/cpanel/ea-php71/root/usr/bin/php-config --with-pdo-dblib=/opt/cpanel/freetds --with-libdir=/lib64
make
All runs fine. After 'make install', module are installed in correct location (/opt/cpanel/ea-php71/root/usr/lib64/php/modules/pdo_dblib.so). I also have enabled this module in correct php.ini, but when I try to load any script (including phpinfo()), I can't see this module.....module isn't loaded! And I can't see any errors, nothing.
Also tryied to manuallo load module with:
/opt/cpanel/ea-php71/root/usr/bin/php -dextension=/opt/cpanel/ea-php71/root/usr/lib64/php/modules/pdo_dblib.so myphpfile.php
But still not working, module looks not loaded and no errors. My question is: there is any block or anything else that I need to do?