[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Problem Installing PHP4 on a RaQ2



Thanks for your suggestion, Roberto. I tried it and Apache is still core
dumping when I uncomment the line

#LoadModule php4_module         /usr/lib/apache/libphp4.so

in httpd.conf

I left those two lines in the http.init file for now.

----- Original Message -----
From: "Roberto G Labrada" <rlabrada@xxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Sunday, January 21, 2001 9:25 PM
Subject: Re: [cobalt-users] Problem Installing PHP4 on a RaQ2


> Joe,
>
> When I faced a similar problem on my Raq3, I fixed it by inserting the
> following statements in the beginning of the /etc/rc.d/init.d/httpd file:
>
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/mysql
>
> Hope it helps on your case.
>
> Roberto
>
> At 16:42 21/01/01 -0500, you wrote:
> >Thank heavens for this list, which is terrific. I've learned tons so far
and
> >acquired a thirst to know more.
> >
> >But first, I gotta get PHP4 running on my RaQ2, and Apache keeps core
> >dumping every time it sees the configuration line calling in libphp4.so.
> >
> >I found this on the PHP site FAQ:
> >....
> >Question: After installing shared mysql support, Apache dumps core as
soon
> >as
> >libphp4.so is loaded. Can this be fixed?
> >
> >ANSWER: If your MySQL libs are linked against pthreads this will happen.
> >Check using ldd. If they are, grab the MySQL tarball and compile from
> >source, or recompile from the source rpm and remove the switch in the
spec
> >file that turns on the threaded client code. Either of these suggestions
> >will fix this. Then recompile PHP with the new mysql libs.
> >
> >This is my first time building software from source on a Unix box.
> >
> >Can anybody tell me how to do what this suggests? How do I use ldd and
what
> >am I looking for? If I find that the MySQL libs are linked against
pthreads
> >(what does that mean, anyway??) which of their two suggestions on
> >recompiling MySQL is more appropriate for a Cobalt RaQ2?
> >
> >I probably should add that I installed the MySQL rpms from Cobalt, so I'm
> >not sure I have ready access to the spec file they mention.
> >
> >Thanks in advance for your help.
> >.cobalt.com
> > > To Subscribe or Unsubscribe, please go to:
> > > http://list.cobalt.com/mailman/listinfo/cobalt-users
> > >
> >
> >_______________________________________________
> >cobalt-users mailing list
> >cobalt-users@xxxxxxxxxxxxxxx
> >To Subscribe or Unsubscribe, please go to:
> >http://list.cobalt.com/mailman/listinfo/cobalt-users
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>