Ho,
I've tried to compile PHP 5.0.5 with Informix OnLine 7.31 support.
Make command fail with this error if I use php cli support:

/home/appl/informix/ol731/lib/esql/libifos.so: warning: the use of `mktemp' is dangerous, better use `mkstemp'
/home/appl/informix/ol731/lib/libifasf.so: undefined reference to `__ctype_b'
/home/appl/informix/ol731/lib/esql/libifos.so: undefined reference to `__ctype_toupper'
/home/appl/informix/ol731/lib/libifasf.so: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Any ideas?
thank you
Bye