Messages 1 - 25 of 30 in topic - view as tree Newer »
From: Danny De Koster - view profile
Date: Mon, Nov 27 2006 6:11 pm
Email: "Danny De Koster"
Hi all,
I want to use my informix database with PHP. But with the compilation I get
this.
Any solutions?
Thanks,
Danny
/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
Reply » Rate this post: Text for clearing space
From: Clive Eisen - view profile
Date: Mon, Nov 27 2006 6:17 pm
Email: Clive Eisen
Danny De Koster wrote:
> Hi all,
> I want to use my informix database with PHP. But with the compilation I get
> this.
> Any solutions?
> 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
1) have you installed the Client-SDK?
2) have you added ${INFORMIXDIR}/lib and ${INFORMIXDIR}/lib/esql
to LD_LIBRARY_PATH or /etc/ld..so.conf /or /etc/ld.so.conf.d
or whatever the equivalent is on your (unspecified) platform?
--
Clive
Reply » Rate this post: Text for clearing space
From: Paul Watson - view profile
Date: Mon, Nov 27 2006 6:57 pm
Email: "Paul Watson"
What is your config line and environment ?
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.
- Hide quoted text -
- Show quoted text -
> -----Original Message-----
> From: Danny De Koster [mailto:d...@fidelity-soft.be]
> Posted At: 27 November 2006 10:11
> Posted To: comp.databases.informix
> Conversation: compiling informix IDS with PHP
> Subject: compiling informix IDS with PHP
> Hi all,
> I want to use my informix database with PHP. But with the
> compilation I get this.
> Any solutions?
> Thanks,
> Danny
> /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
Reply » Rate this post: Text for clearing space
From: Jean Georges Perrin - view profile
Date: Mon, Nov 27 2006 7:46 pm
Email: "Jean Georges Perrin"
There is a complete article on dW re: installing PHP and Informix...
Hih
jgp
- Hide quoted text -
- Show quoted text -
> -----Original Message-----
> From: informix-list-boun...@iiug.org [mailto:informix-list-
> boun...@iiug.org] On Behalf Of Paul Watson
> Sent: Monday, November 27, 2006 17:57
> To: informix-l...@iiug.org
> Subject: Re: compiling informix IDS with PHP
> What is your config line and environment ?
> 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:d...@fidelity-soft.be]
> > Posted At: 27 November 2006 10:11
> > Posted To: comp.databases.informix
> > Conversation: compiling informix IDS with PHP
> > Subject: compiling informix IDS with PHP
> > Hi all,
> > I want to use my informix database with PHP. But with the
> > compilation I get this.
> > Any solutions?
> > Thanks,
> > Danny
> > /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
> _______________________________________________
> Informix-list mailing list
> Informix-l...@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
Reply » Rate this post: Text for clearing space
From: Paul Watson - view profile
Date: Mon, Nov 27 2006 8:13 pm
Email: "Paul Watson"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
> There is a complete article on dW re: installing PHP and Informix...
Errr, the RTFM approach
- Hide quoted text -
- Show quoted text -
> Hih
> jgp
> > -----Original Message-----
> > From: informix-list-boun...@iiug.org [mailto:informix-list-
> > boun...@iiug.org] On Behalf Of Paul Watson
> > Sent: Monday, November 27, 2006 17:57
> > To: informix-l...@iiug.org
> > Subject: Re: compiling informix IDS with PHP
> > What is your config line and environment ?
> > 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:d...@fidelity-soft.be] Posted At: 27
> > > November 2006 10:11 Posted To: comp.databases.informix
> > > Conversation: compiling informix IDS with PHP
> > > Subject: compiling informix IDS with PHP
> > > Hi all,
> > > I want to use my informix database with PHP. But with the
> > > compilation I get this.
> > > Any solutions?
> > > Thanks,
> > > Danny
> > > /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
> > _______________________________________________
> > Informix-list mailing list
> > Informix-l...@iiug.org
> > http://www.iiug.org/mailman/listinfo/informix-list
Reply » Rate this post: Text for clearing space
From: Manas D - view profile
Date: Mon, Nov 27 2006 11:12 pm
Email: "Manas D"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Danny,
Please refer to the following article
http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606...
Thanks,
-Manas
- Hide quoted text -
- Show quoted text -
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
> /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
Reply » Rate this post: Text for clearing space
From: Roland Wintgen - view profile
Date: Tues, Nov 28 2006 1:35 pm
Email: Roland Wintgen
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Manas D schrieb:
- Hide quoted text -
- Show quoted text -
> Danny,
> Please refer to the following article
> http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606...
> 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
- Hide quoted text -
- Show quoted text -
>> /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
Reply » Rate this post: Text for clearing space
From: Danny De Koster - view profile
Date: Tues, Nov 28 2006 6:24 pm
Email: "Danny De Koster"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Hi Roland,
Indeed with the enable-cli, obvious he did succeed to compile the php.
I followed the steps in the "A step-by-step how-to guide to install,
configure, and test a Linux, Apache,....." so I checked that PHP is well
compiled.
doing a /usr/local/bin/php -m I get
./php: error while loading shared libraries: libifgls.so: cannot open
shared object file: No such file or directory
any ideas??
Thanks,
Danny
"Roland Wintgen"
news:newscache$svuf9j$899$1@news.itemax.de...
- Hide quoted text -
- Show quoted text -
> Manas D schrieb:
>> Danny,
>> Please refer to the following article
>> http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606...
>> 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
Reply » Rate this post: Text for clearing space
From: Adam Tauno Williams - view profile
Date: Tues, Nov 28 2006 6:36 pm
Email: Adam Tauno Williams
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
> Indeed with the enable-cli, obvious he did succeed to compile the php.
> I followed the steps in the "A step-by-step how-to guide to install,
> configure, and test a Linux, Apache,....." so I checked that PHP is well
> compiled.
> doing a /usr/local/bin/php -m I get
> ./php: error while loading shared libraries: libifgls.so: cannot open
> shared object file: No such file or directory
> any ideas??
You ldconfig is not complete; your library search path must include the
folder that contains libifgls.so.
Reply » Rate this post: Text for clearing space
From: Double Echo - view profile
Date: Tues, Nov 28 2006 7:07 pm
Email: Double Echo
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Adam Tauno Williams wrote:
>> Indeed with the enable-cli, obvious he did succeed to compile the php.
>> I followed the steps in the "A step-by-step how-to guide to install,
>> configure, and test a Linux, Apache,....." so I checked that PHP is well
>> compiled.
>> doing a /usr/local/bin/php -m I get
>> ./php: error while loading shared libraries: libifgls.so: cannot open
>> shared object file: No such file or directory
>> any ideas??
> You ldconfig is not complete; your library search path must include the
> folder that contains libifgls.so.
And the guy has _*still*_ not supplied his ./config line to tell anyone what
he did to build PHP. Until that's done it's all bullshit.
A good starting point is to create a php program like this:
phpinfo();
?>
save it as phpinfo.php and run it from your browser like this:
http://mywebsite/phpinfo.php
This will list out all the shit used to build php on that webserver.
Once we get that all-important ./config command, which will be listed then the
guy can get some real guidance, but for now it's amazing that so many are willing
to help and this guy won't do what Paul offered as an immediate request, which
was to show us the config. Sheeesh! Until then it's anybody's guess, which is
exactly what people are doing, guessing!
-DE-
Reply » Rate this post: Text for clearing space
From: Adam Tauno Williams - view profile
Date: Tues, Nov 28 2006 8:15 pm
Email: Adam Tauno Williams
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
>>> Indeed with the enable-cli, obvious he did succeed to compile the php.
>>> I followed the steps in the "A step-by-step how-to guide to install,
>>> configure, and test a Linux, Apache,....." so I checked that PHP is well
>>> compiled.
>>> doing a /usr/local/bin/php -m I get
>>> ./php: error while loading shared libraries: libifgls.so: cannot open
>>> shared object file: No such file or directory
>>> any ideas??
>> You ldconfig is not complete; your library search path must include the
>> folder that contains libifgls.so.
> And the guy has _*still*_ not supplied his ./config line to tell anyone what
> he did to build PHP. Until that's done it's all #######.
Nope, you are wrong. If he has a /usr/local/bin/php then PHP did
compile and install, the above error message always and exactly means
his library path is wrong; he has to actually have the library for
the thing to have compiled in the first place. There is no reason to
present his "./config line" (which is "./configure" BTW).
Reply » Rate this post: Text for clearing space
From: Paul Watson - view profile
Date: Tues, Nov 28 2006 9:47 pm
Email: "Paul Watson"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
- Hide quoted text -
- Show quoted text -
> >>> Indeed with the enable-cli, obvious he did succeed to
> compile the php.
> >>> I followed the steps in the "A step-by-step how-to guide
> to install,
> >>> configure, and test a Linux, Apache,....." so I checked
> that PHP is
> >>> well compiled.
> >>> doing a /usr/local/bin/php -m I get
> >>> ./php: error while loading shared libraries:
> libifgls.so: cannot
> >>> open shared object file: No such file or directory any ideas??
> >> You ldconfig is not complete; your library search path
> must include
> >> the folder that contains libifgls.so.
> > And the guy has _*still*_ not supplied his ./config line to tell
> > anyone what he did to build PHP. Until that's done it's
> all #######.
> Nope, you are wrong. If he has a /usr/local/bin/php then PHP
> did compile and install, the above error message always and
> exactly means his library path is wrong; he has to actually
> have the library for the thing to have compiled in the first
> place. There is no reason to present his "./config line"
> (which is "./configure" BTW).
Nope it tells us that at one point he has had a successful compile and
an install. Now that install could have informix install pointing to
somewhere it is no longer. For example he's moved it from /usr/informix
to /usr/informixsowmehereelse. Now if he had supplied the requested
information then the correct environment would have been provided for
him by now, ie make sure
are on the library path. So OK, he can go look for the missing library
and make sure it's found but if he has multiple IDS/ESQLC installations
then which one does he use - well that depends on the ./config line he
as used and we are back to the first question.
Most of us don't ask for more information for the sheer hell of it
Cheers
Paul
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.
Reply » Rate this post: Text for clearing space
From: Double Echo - view profile
Date: Tues, Nov 28 2006 10:00 pm
Email: Double Echo
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
- Hide quoted text -
- Show quoted text -
Adam Tauno Williams wrote:
>>>> Indeed with the enable-cli, obvious he did succeed to compile the php.
>>>> I followed the steps in the "A step-by-step how-to guide to install,
>>>> configure, and test a Linux, Apache,....." so I checked that PHP is
>>>> well
>>>> compiled.
>>>> doing a /usr/local/bin/php -m I get
>>>> ./php: error while loading shared libraries: libifgls.so: cannot
>>>> open
>>>> shared object file: No such file or directory
>>>> any ideas??
>>> You ldconfig is not complete; your library search path must include the
>>> folder that contains libifgls.so.
>> And the guy has _*still*_ not supplied his ./config line to tell
>> anyone what
>> he did to build PHP. Until that's done it's all #######.
> Nope, you are wrong. If he has a /usr/local/bin/php then PHP did
> compile and install, the above error message always and exactly means
> his library path is wrong; he has to actually have the library for the
> thing to have compiled in the first place. There is no reason to
> present his "./config line" (which is "./configure" BTW).
Not so fast Adam. You can compile yet fail to completely install PHP. And
until the web server is bounced he's still going to use the last known good
version of PHP. You could also get part of the install, such as the cmd-line
php to install and hork the rest of the install as we've seen.
You *are* right of course, he does need to make sure his library references
are up to date in ld.so.conf first, and then run ldconfig on the command
line to get things in the lib department synchronized. And you are right it
is "./configure" not ./config. There are still many sources out there that
use the older ./config, my bad. :-)
The right thing to do is to capture what the ./configure is for the current
PHP installation. By creating a phpinfo.php and putting it in the docroot,
and then capturing it, it will allow the new PHP version to overlay--if desired--
the current version. Personally I typically leave the RPM'd version of Apache
alone, as well as the RPM'd version of PHP alone and build PHP into a new version
of Apache over in its default /usr/local/apache2. This way if I hork it up I
don't cripple the RPM'd version which is automagically updated in a lot of distros
via update programs. After I get my own PHP up and running, I shut off the Apache
that came with the distro, and then light up the Apache I built, which will also
contain my own totally super-duper PHP installation. If the wheels fall off of
my version, I simply turn off my Apache and turn on the RPM'd version, fix it,
and away we go. This way I have a fall-back, and my web server stays operational
for the most part, 100% of the time.
Thanks for catching my errors, happy holidays!
-DE-
Reply » Rate this post: Text for clearing space
From: Danny De Koster - view profile
Date: Wed, Nov 29 2006 2:09 pm
Email: "Danny De Koster"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Sorry guys I did some other tries to get it run but I did not succeed.
The way I compiled apache:
linuxAspire:/usr/local/src/httpd-2.0.59 #
./configure \
--prefix=/usr/local/apache \
--enable-shared=max \
--enable-module=rewrite \
--enable-module=so
make
make install
The way I compiled PHP:
export LD_LIBRARY_PATH=/usr/informix94/lib:/usr/informix94/lib/esql
./buildconf --force
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--disable-debug \
--disable-ftp \
--disable-inline-optimization \
--disable-magic-quotes \
--disable-mbstring \
--disable-cli \
--enable-wddx=shared \
--enable-xml \
--with-dom \
--with-regex=system \
--with-xml \
--with-jpeg-dir=/usr/lib \
--with-zlib-dir=/usr/lib \
--with-zlib \
--without-pdo-sqlite \
--without-iconv \
--without-sqlite \
--enable-shared \
--enable-pdo \
--with-pdo-informix=/usr/informix94
make
make install
Starting the Apache:
/usr/local/bin/apache/bin/apachectl start
then I get:
Syntax error on line 232 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/modules/libphp5.so into server: libifgls.so:
canno
t open shared object file: No such file or directory
What is going wrong and I'm so excided to use
Apache/PHP/Informix..........damm.....
Any tips?
Thanks, Danny
"Double Echo"
news:31_ah.498$x55.222@fe162.usenetserver.com...
- Hide quoted text -
- Show quoted text -
> Adam Tauno Williams wrote:
>>> Indeed with the enable-cli, obvious he did succeed to compile the php.
>>> I followed the steps in the "A step-by-step how-to guide to install,
>>> configure, and test a Linux, Apache,....." so I checked that PHP is well
>>> compiled.
>>> doing a /usr/local/bin/php -m I get
>>> ./php: error while loading shared libraries: libifgls.so: cannot
>>> open shared object file: No such file or directory
>>> any ideas??
>> You ldconfig is not complete; your library search path must include the
>> folder that contains libifgls.so.
> And the guy has _*still*_ not supplied his ./config line to tell anyone
> what
> he did to build PHP. Until that's done it's all bullshit.
> A good starting point is to create a php program like this:
> > phpinfo();
> ?>
> save it as phpinfo.php and run it from your browser like this:
> http://mywebsite/phpinfo.php
> This will list out all the shit used to build php on that webserver.
> Once we get that all-important ./config command, which will be listed then
> the
> guy can get some real guidance, but for now it's amazing that so many are
> willing
> to help and this guy won't do what Paul offered as an immediate request,
> which
> was to show us the config. Sheeesh! Until then it's anybody's guess,
> which is
> exactly what people are doing, guessing!
> -DE-
Reply » Rate this post: Text for clearing space
From: Danny De Koster - view profile
Date: Wed, Nov 29 2006 2:37 pm
Email: "Danny De Koster"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Well it's that document that I use.
"Jean Georges Perrin"
news:mailman.379.1164649133.29126.informix-list@iiug.org...
- Hide quoted text -
- Show quoted text -
> There is a complete article on dW re: installing PHP and Informix...
> Hih
> jgp
>> -----Original Message-----
>> From: informix-list-boun...@iiug.org [mailto:informix-list-
>> boun...@iiug.org] On Behalf Of Paul Watson
>> Sent: Monday, November 27, 2006 17:57
>> To: informix-l...@iiug.org
>> Subject: Re: compiling informix IDS with PHP
>> What is your config line and environment ?
>> 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:d...@fidelity-soft.be]
>> > Posted At: 27 November 2006 10:11
>> > Posted To: comp.databases.informix
>> > Conversation: compiling informix IDS with PHP
>> > Subject: compiling informix IDS with PHP
>> > Hi all,
>> > I want to use my informix database with PHP. But with the
>> > compilation I get this.
>> > Any solutions?
>> > Thanks,
>> > Danny
>> > /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
>> _______________________________________________
>> Informix-list mailing list
>> Informix-l...@iiug.org
>> http://www.iiug.org/mailman/listinfo/informix-list
Reply » Rate this post: Text for clearing space
From: Danny De Koster - view profile
Date: Wed, Nov 29 2006 2:38 pm
Email: "Danny De Koster"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Roland,
Perhaps you would be so kind to share youre compilation scripts?
Bye the way. I use SuSe 9.2
"Roland Wintgen"
news:newscache$svuf9j$899$1@news.itemax.de...
- Hide quoted text -
- Show quoted text -
> Manas D schrieb:
>> Danny,
>> Please refer to the following article
>> http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606...
>> 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
Reply » Rate this post: Text for clearing space
From: Carsten Haese - view profile
Date: Wed, Nov 29 2006 2:47 pm
Email: Carsten Haese
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
- Hide quoted text -
- Show quoted text -
On Wed, 2006-11-29 at 13:09 +0100, Danny De Koster wrote:
> The way I compiled PHP:
> export LD_LIBRARY_PATH=/usr/informix94/lib:/usr/informix94/lib/esql
> ./buildconf --force
> ./configure --with-apxs2=/usr/local/apache/bin/apxs \
> --disable-debug \
> --disable-ftp \
> --disable-inline-optimization \
> --disable-magic-quotes \
> --disable-mbstring \
> --disable-cli \
> --enable-wddx=shared \
> --enable-xml \
> --with-dom \
> --with-regex=system \
> --with-xml \
> --with-jpeg-dir=/usr/lib \
> --with-zlib-dir=/usr/lib \
> --with-zlib \
> --without-pdo-sqlite \
> --without-iconv \
> --without-sqlite \
> --enable-shared \
> --enable-pdo \
> --with-pdo-informix=/usr/informix94
> make
> make install
> Starting the Apache:
> /usr/local/bin/apache/bin/apachectl start
> then I get:
> Syntax error on line 232 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/modules/libphp5.so into server: libifgls.so:
> canno
> t open shared object file: No such file or directory
> What is going wrong and I'm so excided to use
> Apache/PHP/Informix..........damm.....
We interrupt the regularly scheduled answer for the following shameless
plug. Use Python instead, the Python Informix module is very easy to
build :)
Now back to the actual answer:
Obviously the dynamic loader has difficulty finding libifgls.so. Here
are some random things to check to start with.
* Is the file /usr/informix94/lib/esql/libifgls.so present?
* Is the LD_LIBRARY_PATH setting from the PHP compilation still present
in the environment in which you're starting apache?
* Does the apache user have 'x' permission for all directories leading
up to /usr/informix94/lib/esql/libifgls.so and 'r' permission for the
file itself?
* Does "ldd /usr/local/apache/modules/libphp5.so" report any other
libifXXX libraries as "not found"?
Hope this helps,
--
Carsten Haese | Phone: (419) 861-3331
Software Engineer | Direct Line: (419) 794-2531
Unique Systems, Inc. | FAX: (419) 893-2840
1687 Woodlands Drive | Cell: (419) 343-7045
Maumee, OH 43537 | Email: cars...@uniqsys.com
Reply » Rate this post: Text for clearing space
From: Double Echo - view profile
Date: Wed, Nov 29 2006 3:04 pm
Email: Double Echo
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
- Hide quoted text -
- Show quoted text -
Danny De Koster wrote:
> Sorry guys I did some other tries to get it run but I did not succeed.
> The way I compiled apache:
> linuxAspire:/usr/local/src/httpd-2.0.59 #
> ./configure \
> --prefix=/usr/local/apache \
> --enable-shared=max \
> --enable-module=rewrite \
> --enable-module=so
> make
> make install
> The way I compiled PHP:
> export LD_LIBRARY_PATH=/usr/informix94/lib:/usr/informix94/lib/esql
> ./buildconf --force
> ./configure --with-apxs2=/usr/local/apache/bin/apxs \
> --disable-debug \
> --disable-ftp \
> --disable-inline-optimization \
> --disable-magic-quotes \
> --disable-mbstring \
> --disable-cli \
> --enable-wddx=shared \
> --enable-xml \
> --with-dom \
> --with-regex=system \
> --with-xml \
> --with-jpeg-dir=/usr/lib \
> --with-zlib-dir=/usr/lib \
> --with-zlib \
> --without-pdo-sqlite \
> --without-iconv \
> --without-sqlite \
> --enable-shared \
> --enable-pdo \
> --with-pdo-informix=/usr/informix94
> make
> make install
> Starting the Apache:
> /usr/local/bin/apache/bin/apachectl start
> then I get:
> Syntax error on line 232 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/modules/libphp5.so into server: libifgls.so:
> canno
> t open shared object file: No such file or directory
> What is going wrong and I'm so excided to use
> Apache/PHP/Informix..........damm.....
> Any tips?
> Thanks, Danny
Now we're getting somewhere.
Did you add:
--with-informix ?
or
--with-informix=/opt/informix/ <-- your INFORMIXDIR
This will be traversed. You might have to modify it over a couple of passes to get it right.
Seems like the one thing you need to have is missing. Adding pdo-informix might be nice but not the one you need.
Try this:
./configure --help | grep informix
--with-informix[=DIR] Include Informix support. DIR is the Informix base
Happy Holidays!
-DE-
Reply » Rate this post: Text for clearing space
From: Carsten Haese - view profile
Date: Wed, Nov 29 2006 3:35 pm
Email: Carsten Haese
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
- Hide quoted text -
- Show quoted text -
On Wed, 2006-11-29 at 08:04 -0500, Double Echo wrote:
> Did you add:
> --with-informix ?
> or
> --with-informix=/opt/informix/ <-- your INFORMIXDIR
> This will be traversed. You might have to modify it over a couple of passes to get it right.
> Seems like the one thing you need to have is missing. Adding pdo-informix might be nice but not the one you need.
> Try this:
> ./configure --help | grep informix
> --with-informix[=DIR] Include Informix support. DIR is the Informix base
I'm pretty sure Danny does not need --with-informix. That simply enables
the old we-don't-need-parametrized-queries-we-have-magic-quotes-style
family of ifx_XXX functions that IMHO should be deprecated. PDO-Informix
is much better and, as far as I know, independent.
Note that Danny's problem is unlikely to be a build problem. He has
successfully built a libphp5.so that references Informix libraries, but
it fails at run time due to the dynamic loader not finding at least one
of those libraries.
--
Carsten Haese | Phone: (419) 861-3331
Software Engineer | Direct Line: (419) 794-2531
Unique Systems, Inc. | FAX: (419) 893-2840
1687 Woodlands Drive | Cell: (419) 343-7045
Maumee, OH 43537 | Email: cars...@uniqsys.com
Reply » Rate this post: Text for clearing space
From: Double Echo - view profile
Date: Wed, Nov 29 2006 4:12 pm
Email: Double Echo
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
- Hide quoted text -
- Show quoted text -
Carsten Haese wrote:
> On Wed, 2006-11-29 at 08:04 -0500, Double Echo wrote:
>> Did you add:
>> --with-informix ?
>> or
>> --with-informix=/opt/informix/ <-- your INFORMIXDIR
>> This will be traversed. You might have to modify it over a couple of passes to get it right.
>> Seems like the one thing you need to have is missing. Adding pdo-informix might be nice but not the one you need.
>> Try this:
>> ./configure --help | grep informix
>> --with-informix[=DIR] Include Informix support. DIR is the Informix base
> I'm pretty sure Danny does not need --with-informix. That simply enables
> the old we-don't-need-parametrized-queries-we-have-magic-quotes-style
> family of ifx_XXX functions that IMHO should be deprecated. PDO-Informix
> is much better and, as far as I know, independent.
> Note that Danny's problem is unlikely to be a build problem. He has
> successfully built a libphp5.so that references Informix libraries, but
> it fails at run time due to the dynamic loader not finding at least one
> of those libraries.
Assuming you are correct, that can be fixed by modifying ld.so.conf and
adding appropriate paths, then running ldconfig on the command line, which
will most likely fix the problem. I don't have Informix on my system so I
don't have the path in my ld.so.conf . I'm getting a copy in the next week
from my sales peoples, will have more experience then.
# cat /etc/ld.so.conf <-- vi this file and add appropriate paths
/lib/
/usr/lib
/usr/local/BerkeleyDB.4.4/
/usr/local/BerkeleyDB.4.4/lib
/usr/local/BerkeleyDB.4.4/include
/usr/lib64
/usr/local/lib
# ldconfig
Assuming you are wrong, I'd still like to see what happens when he does
what I would expect to be the right thing, simply adding --with-informix=/my/informix/dir.
He needs to at least try it, as a baseline action. If it fails, and is not a
solution, then so be it. Once we know that this _won't_ work, then we can focus
on other things that _might_. So far nobody has provided a solution, so until then, I'm
still on track.
-DE-
Reply » Rate this post: Text for clearing space
From: Danny De Koster - view profile
Date: Thurs, Nov 30 2006 5:51 pm
Email: "Danny De Koster"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
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"
news:456d7f5b$0$1134$ba620e4c@news.skynet.be...
- Hide quoted text -
- Show quoted text -
> Roland,
> Perhaps you would be so kind to share youre compilation scripts?
> Bye the way. I use SuSe 9.2
> "Roland Wintgen"
> 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-0606...
>>> 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
Reply » Rate this post: Text for clearing space
From: Paul Watson - view profile
Date: Thurs, Nov 30 2006 5:57 pm
Email: "Paul Watson"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
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.
- Hide quoted text -
- Show quoted text -
> -----Original Message-----
> From: Danny De Koster [mailto:d...@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"
> 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"
> > 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
Reply » Rate this post: Text for clearing space
From: Adam Tauno Williams - view profile
Date: Thurs, Nov 30 2006 6:08 pm
Email: Adam Tauno Williams
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
> 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.
It is rock solid for us.
apache2-2.2.0-21 PHP 5.0.4
Make sure you are using the prefork worker.
Reply » Rate this post: Text for clearing space
From: Adam Tauno Williams - view profile
Date: Thurs, Nov 30 2006 6:14 pm
Email: Adam Tauno Williams
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
> I succeeded to make a compilation. In the notes of Kellen Bombardier, he
> says to do a test like 'php -m'.
tyr:~ # /opt/php5/bin/php -m | grep informix
informix
Works here.
> 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?
After you set the LD_LIBRARY_PATH does ldd say everything is Ok for
"php"?
Just for giggles, does doing a "export LD_ASSUME_KERNEL=2.4.19" make any
difference?
> For the moment I use SuSe 9.2 / httpd 2.2.0 / php 5.1.2 / IDS 9.40 UC2
SuSE 10.1 Apache 2.2.0-21 PHP 5.0.4 IDS 10.00.UC4
Reply » Rate this post: Text for clearing space
From: Paul Watson - view profile
Date: Thurs, Nov 30 2006 6:38 pm
Email: "Paul Watson"
Groups: comp.databases.informix
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
With the Webblade ? ITS says it doesn't work and I have to agree
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.
- Hide quoted text -
- Show quoted text -
> -----Original Message-----
> From: Adam Tauno Williams [mailto:a...@morrison-ind.com]
> Posted At: 30 November 2006 10:08
> Posted To: comp.databases.informix
> Conversation: compiling informix IDS with PHP
> Subject: Re: compiling informix IDS with PHP
> > 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.
> It is rock solid for us.
> apache2-2.2.0-21 PHP 5.0.4
> Make sure you are using the prefork worker.
Reply » Rate this post: Text for clearing space
No comments:
Post a Comment