A quick guide for install compile pdo_dblib for lsphp72
you may adapt it for other modules and PHP version by change extension name and PHP version
run them one by one , and make sure no error output.
tested on centos 7
wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.1.24.tar.gz tar xzvf freetds-1.1.24.tar.gz cd freetds-1.1.24 ./configure make make install cd wget https://www.php.net/distributions/php-7.2.25.tar.gz tar xzvf php-7.2.25.tar.gz cd php-7.2.25 cd ext cd pdo_dblib /usr/local/lsws/lsphp72/bin/phpize ./configure --with-pdo_dblib --with-php-config=/usr/local/lsws/lsphp72/bin/php-config make make install echo "extension=pdo_dblib.so" > /usr/local/lsws/lsphp72/etc/php.d/20-pdo_dblib.ini pkill lsphp