While these instructions contain commands to install both SQLSRV and PDO_SQLSRV drivers, the drivers can be installed and function independently. PHP-FPM is needed if you're using the nginx web server instead of Apache. See the notes at the beginning of each section to install PHP 8.0 or 8.2 instead.Īlso included are instructions for installing the PHP FastCGI Process Manager, PHP-FPM, on Ubuntu. Some supported Linux distros default to PHP 7.1 or earlier, which is not supported for the latest version of the PHP drivers for SQL Server. You may need to run pecl channel-update first. The following instructions install PHP 8.1 by default using pecl install, if the PHP 8.1 packages are available. For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on loading the drivers. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the Microsoft Drivers for PHP for SQL Server GitHub project page and install them following the instructions in Loading the Microsoft Drivers for PHP for SQL Server. Was this tutorial useful? Buy me a drink by using the “Donate” button below.The following instructions assume a clean environment and show how to install PHP 8.1, the Microsoft ODBC driver, the Apache web server, and the Microsoft Drivers for PHP for SQL Server on Ubuntu, Red Hat, Debian, Suse, Alpine, and macOS. You should also install a File Caching plugin, for example WP Super Cache. WordPress should not mention Object Cache as a missing/recommended. Check that everything is working as expected by going to Tools -> Site Health. Again, the correct location is wp-content, even if we’re dealing with a plugin.ġ1. Do not place it in wp-content/plugins as it might break your WordPress installation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |