Installing and Configuring LXP

To install LXP, you must have the Apache web server installed and configured to support mod_so. This is the Apache Shared Object module. If you have not built Apache with this module, you will need to reconfigure it, making sure to include the --enable-module=so configuration option before compiling.


Installing and Configuring LXP

If you choose to manually compile Apache, be sure that you remove any existing Apache RPMs first. You can usually identify these with the rpm -qa |grep apache command.

If Apache is installed, and the Shared Object module is enabled, you may insert the CD included with this book, mount it, and proceed with the installation. You will need to be logged in as root in order to successfully install LXP, since it requires access to system-level files and directories.

Installing LXP

There are two ways to install LXP as of Version 0.8; you may use the script, found in the lxp directory on the CD, or you may install it manually. The script is intended to both install the required LXP files and to configure your httpd.conf file to load and enable the LXP module.

If you encounter any errors during the installation from, see the following section about manual configuration.


The script is extremely straightforward. On a fresh system, the only option you should be prompted to respond to is at the ...

Get Practical PostgreSQL now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.