Php72 - pdosqlsrv install help

lskagan

Administrator
#2
You will need to install it via pecl `https://pecl.php.net/package/pdo_sqlsrv`

Here is an example to install memcached via PECL, you should be able to apply same logic to pdo_sqlsrv.
Code:
wget http://pecl.php.net/get/memcached-3.0.4.tgz
tar zxvf memcached-3.0.4.tgz
cd memcached-3.0.4
/opt/cpanel/ea-php71/root/usr/bin/phpize
./configure --with-php-config=/opt/cpanel/ea-php71/root/usr/bin/php-config
make
make install
echo "extension=memcached.so" > /opt/cpanel/ea-php71/root/etc/php.ini
Just replace the names and the paths and should be good to go.
 
Top