Omer Efraim wrote: > > Ilya Konstantinov wrote: > > > > Shlomi Fish wrote: > > > Let me know when it is OK so I can add php support to Apache, and get the > > > Links manager to run again. > > > > For some weird reason, both PHP3 and PHP4 keep segfaulting Apache on > > start. > > The gdb backtrace shows no hints. > > Two ideas come into mind: > > 1) check the mysql shared libraries > > 2) recompile Apache (weird Redhat stuff) > > > > I'll look into it later. Ideas, people? > > (meanwhile, PHP isn't there yet) > > DSO, right? > > Why don't you attach the backtrace anyhow. It failed somewhere in the DSO loader. Seems to be nothing special. Anyhow, I had a similar problem on a server we have here at work, and finally I resolved it. For a start, PHP included their own libmysqlclient with PHP4, probably since it's very popular and many inexperienced users cannot figure out how to install MySQL-shared. Unfortunatelly, it'll conflict and segfault if anything else would access MySQL on the same server (be DBI in mod_perl, or some mysql-based auth module). It's a known bug and you can direct ./configure --with-mysql=/usr to link against libmysqlclient.so and everything will work fine. But still, it kept crashing with mod_perl loaded. Finally it turned out DBD::mysql's mysql.so was linked against static libmysqlclient.a. Relinking against the dynamic one solved the problem. On my Debian desktop machine, everything went smoothly since it's DBD::mysql comes dynamically-linked out of the box. -- Best regards, Ilya Konstantinov ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
