Compile Apache/PHP4/IBMdb2

admin

Administrator
Staff member
Guys - I have read all the discussions here and on DevShed regarding install/setup of Apache/PHP4/IBMdb2 to connect to a remote AS400-DB2 platform, and followed their directions. Everything appears to MAKE and INSTALL without errors (both PHP4 and Apache) - yet when I try to start the httpd binary - it segfaults, in fact even when I try to do a syntax/docroot check (./httpd -t) it also segfaults. I have a DB2 installation working on the machine that I am compiling on and I have tested it and it seems fine. I can connect to it with the IBM client and do standard SQL stuff on the test DB.
Also - fyi - when I first tried to MAKE php4 --with-ibm-db2=/usr/IBMdb2/V7.1 - it would die during the make cuz it was looking for ibm/odbc .h files in the local php4 directory - so I copied everything from /usr/IBMdb2/V7.1/include into the local php4 root and then it ran the MAKE and MAKE INSTALL without apparent errors.
Does anyone have any ideas?
Thanks,
Ken
 
Back
Top