These scripts aim to simplify the installation of the Informix SDK and compilation of the PDO PHP Informix driver on Debian systems.
The Informix SDK Installation Script (install_informix_sdk.sh
) automates the setup of the Informix Software Development Kit (SDK) on Debian. It performs the following steps:
- Download the Informix SDK from IBM's website.
- Copy and extract the temporary installation folder.
- Install missing libraries required by the Informix SDK.
- Install the Informix SDK in the specified directory.
- Create a symbolic link for easy access to the SDK.
- Remove the temporary installation folder.
- Configure the Informix SDK by adding necessary paths to the dynamic library configuration file.
The Informix PDO Compilation Script (compile_informix_pdo.sh
) facilitates the compilation of the PDO PHP Informix driver on a Debian system. Its main features include:
- Install PHP with necessary extensions.
- Download the PDO Informix driver from PECL.
- Extract the PDO Informix driver.
- Compile the PDO Informix driver for the specified PHP version.
- Install the compiled PDO Informix driver.
- Clean up temporary files.
- Configure the PDO Informix driver in the PHP configuration.
- Enable the PHP-FPM service at startup.
- Restart the PHP-FPM service to apply the changes.
These scripts have been successfully tested on Debian 12.
We welcome community contributions. Fork, make changes, submit a pull request.
This project is licensed under the MIT License.