LIXA Extensions reference guide (version 1.0.1)

A libre, free, open source implementation of the XA and the TX specifications

Christian Ferrari


Table of Contents

1. Introduction
What's LIXA extension?
2. PHP
Extension type
Prerequisites
Installation
PHP environment
Testing LIXA PHP integration
LIXA details
Using LIXA extension for PHP
LIXA PHP Application Programming Interface (API)
An example with dummy Resource Managers
An example with MySQL (mysqli driver)
MySQL (mysqli) connection string syntax
An example with two MySQL servers (mysqli)
An example with PostgreSQL (pgsql driver)
An example with MySQL (mysqli driver) & PostgreSQL (pgsql driver)
Bibliography

List of Figures

2.1. Deploy model of an example with MySQL DBMS (example8_mys => example03_lixa_mysqli.php)
2.2. Deploy model of an example with two MySQL DBMS (example11_mys_mys => example04_lixa_mysqli2.php)
2.3. Deploy model of an example with PostgreSQL (example5_pql => example06_lixa_pgsql.php)
2.4. Deploy model of an example with MySQL & PostgreSQL (example9_mys_pql => example07_lixa_mysqli_pgsql.php)