Re: compiling informix IDS with PHP
Posted in 2006
Topics: Installation, Setup & Upgrades, Internationalization & Character Sets
Roland, Perhaps you would be so kind to share youre compilation scripts? Bye the way. I use SuSe 9.2 "Roland Wintgen" <rw@evg.de> schreef in bericht news:newscache$svuf9j$899$1@news.itemax.de... > Manas D schrieb: >> Danny, >> Please refer to the following article >> http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606bombardier/ >> >> Thanks, >> -Manas >> >> Danny De Koster wrote: >>> Hi all, >>> >>> I want to use my informix database with PHP. But with the compilation I >>> get >>> this. >>> Any solutions? >>> >>> Thanks, >>> Danny >>> > Hi Danny, > > this seems familiar to me. The only solution I found was to compile php > with "--disable-cli". > And yes, I did read the above mentioned DeveloperWorks article and used > the latest CSDK and the current IDS available at IIUG. > > BTW: this only seems to a problem with PHP 5, older versions will work > fine. > > Roland > >>> >>> >>> /bin/sh >>> /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps --mode=ins >>> tall cp ext/wddx/wddx.la /usr/local/src/php-5.2.0/modules >>> Installing PHP SAPI module: apache2handler >>> /usr/local/apache/build/instdso.sh >>> SH_LIBTOOL='/usr/local/apache/build/libtool' >>> libphp5.la /usr/local/apache/modules >>> /usr/local/apache/build/libtool --mode=install cp libphp5.la >>> /usr/local/apache/m >>> odules/ >>> cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so >>> cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la >>> libtool: install: warning: remember to run `libtool --finish >>> /usr/local/src/php- >>> 5.2.0/libs' >>> chmod 755 /usr/local/apache/modules/libphp5.so >>> [activating module `php5' in /usr/local/apache/conf/httpd.conf] >>> Installing PHP CLI binary: /usr/local/bin/ >>> Installing PHP CLI man page: /usr/local/man/man1/ >>> Installing shared extensions: >>> /usr/local/lib/php/extensions/no-debug-non-zts >>> -20060613/ >>> Installing build environment: /usr/local/lib/php/build/ >>> Installing header files: /usr/local/include/php/ >>> Installing helper programs: /usr/local/bin/ >>> program: phpize >>> program: php-config >>> Installing man pages: /usr/local/man/man1/ >>> page: phpize.1 >>> page: php-config.1 >>> Installing PEAR environment: /usr/local/lib/php/ >>> /usr/local/src/php-5.2.0/sapi/cli/php: error while loading shared >>> libraries: >>> lib >>> ifgls.so: cannot open shared object file: No such file or directory >>> make[1]: *** [install-pear-installer] Error 127 >>> make: *** [install-pear] Error 2 >>
Here I am again!! I succeeded to make a compilation. In the notes of Kellen Bombardier, he says to do a test like 'php -m'. Doing this the system reclaims that libifgls.so as shared library is not found. I extend my LD_LIBRARY_PATH with /usr/informix94/lib/esql and then the system gives 'Segmentation fault'. Can it be a proble of compability of the libifgls.so??? Which do i need to use? For the moment I use SuSe 9.2 / httpd 2.2.0 / php 5.1.2 / IDS 9.40 UC2 Any ideas?? Thanks Danny "Danny De Koster" <ddk@fidelity-soft.be> schreef in bericht news:456d7f5b$0$1134$ba620e4c@news.skynet.be... > Roland, > > Perhaps you would be so kind to share youre compilation scripts? > > Bye the way. I use SuSe 9.2 > > > "Roland Wintgen" <rw@evg.de> schreef in bericht > news:newscache$svuf9j$899$1@news.itemax.de... >> Manas D schrieb: >>> Danny, >>> Please refer to the following article >>> http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606bombardier/ >>> >>> Thanks, >>> -Manas >>> >>> Danny De Koster wrote: >>>> Hi all, >>>> >>>> I want to use my informix database with PHP. But with the compilation I >>>> get >>>> this. >>>> Any solutions? >>>> >>>> Thanks, >>>> Danny >>>> >> Hi Danny, >> >> this seems familiar to me. The only solution I found was to compile php >> with "--disable-cli". >> And yes, I did read the above mentioned DeveloperWorks article and used >> the latest CSDK and the current IDS available at IIUG. >> >> BTW: this only seems to a problem with PHP 5, older versions will work >> fine. >> >> Roland >> >>>> >>>> >>>> /bin/sh >>>> /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps --mode=ins >>>> tall cp ext/wddx/wddx.la /usr/local/src/php-5.2.0/modules >>>> Installing PHP SAPI module: apache2handler >>>> /usr/local/apache/build/instdso.sh >>>> SH_LIBTOOL='/usr/local/apache/build/libtool' >>>> libphp5.la /usr/local/apache/modules >>>> /usr/local/apache/build/libtool --mode=install cp libphp5.la >>>> /usr/local/apache/m >>>> odules/ >>>> cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so >>>> cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la >>>> libtool: install: warning: remember to run `libtool --finish >>>> /usr/local/src/php- >>>> 5.2.0/libs' >>>> chmod 755 /usr/local/apache/modules/libphp5.so >>>> [activating module `php5' in /usr/local/apache/conf/httpd.conf] >>>> Installing PHP CLI binary: /usr/local/bin/ >>>> Installing PHP CLI man page: /usr/local/man/man1/ >>>> Installing shared extensions: >>>> /usr/local/lib/php/extensions/no-debug-non-zts >>>> -20060613/ >>>> Installing build environment: /usr/local/lib/php/build/ >>>> Installing header files: /usr/local/include/php/ >>>> Installing helper programs: /usr/local/bin/ >>>> program: phpize >>>> program: php-config >>>> Installing man pages: /usr/local/man/man1/ >>>> page: phpize.1 >>>> page: php-config.1 >>>> Installing PEAR environment: /usr/local/lib/php/ >>>> /usr/local/src/php-5.2.0/sapi/cli/php: error while loading shared >>>> libraries: >>>> lib >>>> ifgls.so: cannot open shared object file: No such file or directory >>>> make[1]: *** [install-pear-installer] Error 127 >>>> make: *** [install-pear] Error 2 >>> > >
There has been a number of comments out php.net saying that PHP5 and Apache 2.2 is not a brilliant combination, mainly due to non-thread safe underlying calls. We could not get PHP5/Apache2.2/WebBlade stable - just gave up in the end. Paul Watson Tel: +44 1414161772 Mob: +44 7818003457 Web: www.oninit.com GO FURTHER with DB2 GET THERE FASTER with Informix. Attend IDUG 2007 San Jose, North America May 6-10, 2007 Visit http://www.iiug.org/conf for more information. > -----Original Message----- > From: Danny De Koster [mailto:ddk@fidelity-soft.be] > Posted At: 30 November 2006 09:52 > Posted To: comp.databases.informix > Conversation: compiling informix IDS with PHP > Subject: Re: compiling informix IDS with PHP > > > Here I am again!! > > I succeeded to make a compilation. In the notes of Kellen > Bombardier, he says to do a test like 'php -m'. > > Doing this the system reclaims that libifgls.so as shared > library is not found. > I extend my LD_LIBRARY_PATH with /usr/informix94/lib/esql and > then the system gives 'Segmentation fault'. > Can it be a proble of compability of the libifgls.so??? > > Which do i need to use? > > For the moment I use SuSe 9.2 / httpd 2.2.0 / php 5.1.2 / IDS 9.40 UC2 > > Any ideas?? > Thanks Danny > > > "Danny De Koster" <ddk@fidelity-soft.be> schreef in bericht > news:456d7f5b$0$1134$ba620e4c@news.skynet.be... > > Roland, > > > > Perhaps you would be so kind to share youre compilation scripts? > > > > Bye the way. I use SuSe 9.2 > > > > > > "Roland Wintgen" <rw@evg.de> schreef in bericht > > news:newscache$svuf9j$899$1@news.itemax.de... > >> Manas D schrieb: > >>> Danny, > >>> Please refer to the following article > >>> > http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-060 > >>> 6bombardier/ > >>> > >>> Thanks, > >>> -Manas > >>> > >>> Danny De Koster wrote: > >>>> Hi all, > >>>> > >>>> I want to use my informix database with PHP. But with the > >>>> compilation I get this. > >>>> Any solutions? > >>>> > >>>> Thanks, > >>>> Danny > >>>> > >> Hi Danny, > >> > >> this seems familiar to me. The only solution I found was > to compile > >> php with "--disable-cli". > >> And yes, I did read the above mentioned DeveloperWorks article and > >> used the latest CSDK and the current IDS available at IIUG. > >> > >> BTW: this only seems to a problem with PHP 5, older versions will > >> work fine. > >> > >> Roland > >> > >>>> > >>>> > >>>> /bin/sh > >>>> /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps > >>>> --mode=ins tall cp ext/wddx/wddx.la > /usr/local/src/php-5.2.0/modules > >>>> Installing PHP SAPI module: apache2handler > >>>> /usr/local/apache/build/instdso.sh > >>>> SH_LIBTOOL='/usr/local/apache/build/libtool' > >>>> libphp5.la /usr/local/apache/modules > >>>> /usr/local/apache/build/libtool --mode=install cp libphp5.la > >>>> /usr/local/apache/m odules/ cp .libs/libphp5.so > >>>> /usr/local/apache/modules/libphp5.so > >>>> cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la > >>>> libtool: install: warning: remember to run `libtool --finish > >>>> /usr/local/src/php- > >>>> 5.2.0/libs' > >>>> chmod 755 /usr/local/apache/modules/libphp5.so > >>>> [activating module `php5' in /usr/local/apache/conf/httpd.conf] > >>>> Installing PHP CLI binary: /usr/local/bin/ > >>>> Installing PHP CLI man page: /usr/local/man/man1/ > >>>> Installing shared extensions: > >>>> /usr/local/lib/php/extensions/no-debug-non-zts > >>>> -20060613/ > >>>> Installing build environment: /usr/local/lib/php/build/ > >>>> Installing header files: /usr/local/include/php/ > >>>> Installing helper programs: /usr/local/bin/ > >>>> program: phpize > >>>> program: php-config > >>>> Installing man pages: /usr/local/man/man1/ > >>>> page: phpize.1 > >>>> page: php-config.1 > >>>> Installing PEAR environment: /usr/local/lib/php/ > >>>> /usr/local/src/php-5.2.0/sapi/cli/php: error while loading shared > >>>> libraries: > >>>> lib > >>>> ifgls.so: cannot open shared object file: No such file > or directory > >>>> make[1]: *** [install-pear-installer] Error 127 > >>>> make: *** [install-pear] Error 2 > >>> > > > > > >
Related threads
- Column name length in Informix
- Caching Data to Buffers
- Checkpoint Duration
- dbaccess standalone.
- Getting executable name.