note 95898 modified in ifx.installation by danbrown
| From: | danbrown@php.net | Date: | Thu, 28 Jan 2010 13:25:04 +0000 |
| Subject: | note 95898 modified in ifx.installation by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165433@lists.php.net to get a copy of this message | ||
As of PHP-5.1.0 informix support was moved to PECL
and removed from the PHP bundle, thus --with-informix
is no longer a valid configuration command.
http://cvs.php.net/viewvc.cgi/pecl/informix/
Contains the latest informix package. For *NIX machines:
1) Download each file into the same directory
2) cd to that directory
3) phpize
4) ./configure
5) make
6) make install
7) move the generated informix.so file to your php modules directory
8) add extension=informix.so to php.ini
9) add [Informix] section to php.ini file with defintions
10) restart Apache
check phpinfo() for 'informix' with the details similar to:
informix â¨Informix support enabled
â¨Active Persistent links 0
â¨Active links 0
â¨ESQL/C Version 3.00
NOTE: Before running phpize to build the php informix module
export LDFLAGS=$INFORMIXDIR/lib/esql/checkapi.o
this will tell the compilation of the module to include this necessary file, for use in building the
informix.so file
--was--
As of PHP-5.1.0 informix support was moved to PECL
and removed from the PHP bundle, thus --with-informix
is no longer a valid configuration command.
http://cvs.php.net/viewvc.cgi/pecl/informix/
Contains the latest informix package. For *NIX machines:
1) Download each file into the same directory
2) cd to that directory
3) phpize
4) ./configure
5) make
6) make install
7) move the generated informix.so file to your php modules directory
8) add extension=informix.so to php.ini
9) add [Informix] section to php.ini file with defintions
10) restart Apache
check phpinfo() for 'informix' with the details similar to:
informix â¨Informix support enabled
â¨Active Persistent links 0
â¨Active links 0
â¨ESQL/C Version 3.00
NOTE: If you get the following error:
"symbol lookup error: /opt/informix/lib/esql/libifsql.so: > undefined symbol: ifx_checkAPI
"
Link in the file: $INFORMIXDIR/lib/esql/checkapi.o which
contains that function.
http://php.net/manual/en/ifx.installation.php