-
-
Save stephane303/6601ae54cfb9f8f24ef1568ade040138 to your computer and use it in GitHub Desktop.
Installing PDO Informix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Installing Informix Client SDK for Linux x86_64 | |
1.1 Download Informix Client SDK 3.70 for Linux x86_64 from IBM website, https://www-01.ibm.com/marketing/iwm/tnd/search.jsp?rs=ifxdl | |
1.2 Extract the file, `cd /opt/informix; tar -xvf clientsdk.3.70.FC8DE.LINUX.tar` | |
1.3 Start installation, `./installclientsdk`, install all | |
2. Installing PDO Informix | |
2.1 Download PDO Informix 1.3.1, `wget https://pecl.php.net/get/PDO_INFORMIX-1.3.1.tgz` | |
2.2 Extract the file, `tar -xvf PDO_INFORMIX-1.3.1.tgz` | |
2.3 `cd PDO_INFORMIX-1.3.1` and compiling | |
2.3.1 `phpize` | |
2.3.2 `./configure --with-pdo-informix=/opt/informix`, if getting error `configure: error: Cannot find php_pdo_driver.h`, do `ln -s /usr/include/php5 /usr/include/php` and try again. | |
2.3.3 `make` | |
2.3.4 `make install` | |
3. Include pdo_informix.so in php.ini | |
Other reference: http://stackoverflow.com/questions/19909075/php-and-informix-on-debian-how-to-install-configure-the-pdo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment