Informix-to compile or not to compile, that is the question
Posted: Tue Oct 17, 2006 3:04 pm
I'm confused. I'm using 5.1.4. Do I need to compile my .exe to use Informix or just enable the extension?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
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: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.
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.