Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Martin Gutjahr — — source: Informix-list mailing list archive (1991-1998)
> i want to acces my informix se database using ODBC within PHP scripts on
> b) linux/apache
>
> i'm using following informix products:
>
> INFORMIX-SE 7.24.UC5 for Linux
> informix 4gl 7.20 ud7 for Linux
>
why don't you use PHP with the informix-module ? - you just have to compile
PHP with the informix-option.
(ESQL has to be installed - ClientSDK should be for free).
You have to configure PHP as follows: (look at configure --help + INSTALL.DSO)
php-source-dir/.configure (...other options) --with-informix=/opt/informix (if it is there)
(the $INFORMIXDIR must be set.)
make
make install
I prefer to build apache with dynamic module loading (mod_so).
So you can use apxs to load php into apache.
With this option, you only have to compile the modules and copy them to
the apache/libexec-directory.
-> You need not to recompile apache after changes in the modules.
see php-source-dir/INSTALL.DSO.
The Informix-LIBs should be in /usr/lib (otherwise apache cannot start up).
Hope that helps,
Martin Gutjahr
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.