&reftitle.setup;
&reftitle.required; This extension requires a MySQL 8+ server with the X plugin enabled (default). Prerequisite libraries for compiling this extension are: Boost, OpenSSL, and Protobuf.
&reftitle.install; &pecl.moved; An example installation procedure on Ubuntu 18.04 with PHP 7.2: The pecl install command does not enable PHP extensions (by default) and enabling PHP extensions can be done in several ways. Another PHP 7.2 on Ubuntu 18.04 example: /etc/php/7.2/mods-available/mysql_xdevapi.ini // Use the 'phpenmod' command (note: it's Debian/Ubuntu specific) $ phpenmod -v 7.2 -s ALL mysql_xdevapi // A 'phpenmod' alternative is to manually symlink it // $ ln -s /etc/php/7.2/mods-available/mysql_xdevapi.ini /etc/php/7.2/cli/conf.d/20-mysql_xdevapi.ini // Let's see which MySQL extensions are enabled now $ php -m |grep mysql mysql_xdevapi mysqli mysqlnd pdo_mysql ]]> &pecl.info; &url.pecl.package;mysql_xdevapi.
&reference.mysql-xdevapi.ini;