Click to See Complete Forum and Search --> : Can't start Apache with Informix


otseng
04-17-2002, 05:28 PM
I've successfully done a make/install for PHP with Informix. But when I do 'apachectl start', I get the following error:

Starting httpd: Syntax error on line 261 of /etc/httpd/conf/httpd.conf:

Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: is8bitstr

What is this is8bitstr? Any ideas on how to resolved this?

My configuration:

- RedHat 7.2
- Apache/1.3.20
- PHP Version 4.1.2
- IBM IFMX CLIENT SDK 2.70.UC3-1 for INTEL LINUX 2.2.14 GLIBC2.1.3

TIA,
Oliver

van__
04-19-2002, 09:26 AM
Start with the obvious:
Syntax error on line 261 of /etc/httpd/conf/httpd.conf:

otseng
04-19-2002, 11:49 AM
Line 261 is loading libphp4.so:

LoadModule php4_module modules/libphp4.so


If I recompile php without informix, this line works fine and I can get php working.

It's only when I have successfully recompiled php with informix, it doesn't like libphp4.so. it'll have the is8bitstr error that I first posted.

Oliver

van__
04-19-2002, 03:11 PM
ahh.
I see now.

Generally I get that kind of error at make time rather than apache reboot time.

Are you sure you've linked your informix client correctly? Apache may be trying to access it for PHP as a shared object and cant find it's record in your .so linkage.

otseng
04-22-2002, 11:41 AM
When I first did the make for the php with informix, I did get link problems. But after I added symbolic links from INFORMIXDIR libraries to /usr/lib, I was able to do a clean make.

The Informix SDK is a rpm.

How do I check a .so file for linkage information?

otseng
04-22-2002, 03:17 PM
I visited iiug.org and got a Linux release of
IDS 9.3.

After installing this, I was able to compile php with informix and start apache with no problems.