Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ITOmauricioherran/d68e4c8456868d6d69aa25f9cb72e9cc to your computer and use it in GitHub Desktop.

Select an option

Save ITOmauricioherran/d68e4c8456868d6d69aa25f9cb72e9cc to your computer and use it in GitHub Desktop.

Revisions

  1. @natsu90 natsu90 revised this gist Feb 22, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@

    1.2 Extract the file, `cd /opt/informix; tar -xvf clientsdk.3.70.FC8DE.LINUX.tar`

    1.3 Start installation, `./installclientsdk`
    1.3 Start installation, `./installclientsdk`, install all

    2. Installing PDO Informix

  2. @natsu90 natsu90 revised this gist Oct 21, 2015. 1 changed file with 8 additions and 4 deletions.
    12 changes: 8 additions & 4 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -14,10 +14,14 @@

    2.3 `cd PDO_INFORMIX-1.3.1` and compiling

    2.3.1 `phpize`, 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.1 `phpize`

    2.3.2 `make`
    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 install`
    2.3.3 `make`

    3. Include pdo_informix.so in php.ini
    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
  3. @natsu90 natsu90 created this gist Oct 21, 2015.
    23 changes: 23 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    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`

    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`, 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.2 `make`

    2.3.3 `make install`

    3. Include pdo_informix.so in php.ini