diff --git a/reference/mysql_xdevapi/setup.xml b/reference/mysql_xdevapi/setup.xml
index e749c26469..e6776b93c8 100644
--- a/reference/mysql_xdevapi/setup.xml
+++ b/reference/mysql_xdevapi/setup.xml
@@ -7,32 +7,66 @@
&reftitle.required;
- For compiling this extension Boost, OpenSSL, and Protobuf
- libraries are required as dependencies.
+ This extension requires a MySQL 8+ server with the X plugin
+ enabled (default).
- An example installation on Ubuntu 16.04:
+ Prerequisite libraries for compiling this extension are:
+ Boost, OpenSSL, and Protobuf.
-
-
-
-
- This extension requires a MySQL 8+ server with the X plugin enabled (default).
-
&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.