Plesk Onyx: Installing Microsoft SQL Server PHP Extensions

This article shows how to install the Microsoft SQL Server PHP extensions in Plesk Onyx (PHP 7 and 7.1 only). It was adapted from the Microsoft PHP Drivers for  SQL Server GitHub page. Plesk Onyx 17.5.3 on CentOS 7.3 was used to create these steps.

Add The Microsoft Repo

Install Dependencies

Install the Extensions

Enable them in PHP

Reread PHP Handlers

Allow in SELinux

Restart Apache

You can verify that the drivers loaded correctly with:

Leave a Reply

Your email address will not be published. * Denotes required field.
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Tip: Do you want an image (avatar) next to your posts? Sign up for a free Gravatar account. It only takes 5 minutes - simply click the "Create Your Own Gravatar" button, provide your e-mail address and upload a photo to associate with it.