Informix-to compile or not to compile, that is the question

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
laurin1
Forum Newbie
Posts: 2
Joined: Wed Mar 22, 2006 5:19 pm

Informix-to compile or not to compile, that is the question

Post by laurin1 »

I'm confused. I'm using 5.1.4. Do I need to compile my .exe to use Informix or just enable the extension?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I am assuming you are using Windows. If it is an .exe then it is either an installer or the application. PHP extensions are usually .dll files. You need to install Informix and add the extension and any configuration in the php.ini file.
(#10850)
laurin1
Forum Newbie
Posts: 2
Joined: Wed Mar 22, 2006 5:19 pm

Post by laurin1 »

arborint wrote:I am assuming you are using Windows. If it is an .exe then it is either an installer or the application. PHP extensions are usually .dll files. You need to install Informix and add the extension and any configuration in the php.ini file.
Sorry, yes, Windows, used the installer, and I know where the php_ifx.dll file is and Informix is installed. However, the help files states:
Introduction
The Informix driver for Informix (IDS) 7.x, SE 7.x, Universal Server (IUS) 9.x and IDS 2000 is implemented in "ifx.ec" and "php3_ifx.h" in the informix extension directory. IDS 7.x support is fairly complete, with full support for BYTE and TEXT columns. IUS 9.x support is partly finished: the new data types are there, but SLOB and CLOB support is still under construction.

Requirements
Configuration notes: You need a version of ESQL/C to compile the PHP Informix driver. ESQL/C versions from 7.2x on should be OK. ESQL/C is now part of the Informix Client SDK.

Make sure that the "INFORMIXDIR" variable has been set, and that $INFORMIXDIR/bin is in your PATH before you run the "configure" script.

Installation
To be able to use the functions defined in this module you must compile your PHP interpreter using the configure line --with-informix[=DIR], where DIR is the Informix base install directory, defaults to nothing.
Post Reply