After completing the installation of PHP7. ++ I got the following error after performing all the steps of the SQL Server PDO Driver Configuration Tutorial for php, restart apache2:
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20170718/pdo_sqlsrv.so (/usr/lib/php/20170718/pdo_sqlsrv.so: undefined symbol : php_pdo_register_driver), /usr/lib/php/20170718/pdo_sqlsrv.so.so (/usr/lib/php/20170718/pdo_sqlsrv.so.so: can not open shared object file: no such file or directory)) in Unknown on line 0
Reference: link