Uhhh... You probably need to either recompile Apache and or PHP with your new
version of MySQL. Copying the old library over the new one is going to cause
problems.
> I have no experience with recompiling libraries (I know this must
> sound dumb). I am a bit desperate, so I tried some other things.
> So I solved it by copying ./lib/mysql/libmysqlclient.so.6
> from version 3.22.32 to the same path in version 3.23.32.
> I then restarted httpd.
> I don't know how dangerous this is, but it works!
> I will keep it this way untill someone here can recompile the libraries.
>
> Thanks!
>
> Tim Samshuijzen
>
> At 21:02 3-2-2001 -0500, you wrote:
> >The mysql version compiled into your web server uses shared libraries and
> >your current version (upgrade) apparently is a statically linked version.
> >Recompile your web server/php/mysql executable with consistent use of
> >libraries i.e. either static or shared.
> >
> >I hope this helps...
> >Pat...
> >
> >----- Original Message -----
> >From: "Tim Samshuijzen" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Saturday, February 03, 2001 7:43 PM
> >Subject: Re: PHP does not work after upgrading MySQL to 3.23.32
> >
> >
> >>
> >>
> >> Dear Fábio Ottolini,
> >>
> >> Thanks for your reply.
> >>
> >> I'm using Linux 2.2.16-22.
> >> The exact error that appears is:
> >>
> >> /usr/local/etc/httpd/httpd: error in loading shared libraries:
> >> libmysqlclient.so.6: cannot open shared object file: No such file or
> >directory
> >>
> >> In MySQL version 3.22.32 there was a file ./lib/mysql/libmysqlclient.so.6
> >>
> >> I suppose in MySQL version 3.23.32 this file corresponds to
> >> ./lib/libmysqlclient.a
> >>
> >> I thought it would be smart to alias link ./lib/mysql/libmysqlclient.so.6
> >> to ./lib/libmysqlclient.a.
> >> But when I restart httpd, the following error appears
> >>
> >> /usr/local/etc/httpd/httpd: error in loading shared libraries:
> >> libmysqlclient.so.6: invalid ELF header
> >>
> >> I hope you can help me with this information.
> >>
> >> Thanks,
> >>
> >> Tim Samshuijzen
> >>
> >>
> >>
> >> At 22:21 3-2-2001 -0200, you wrote:
> >> >I suppose your operational system is Windows... Or is it Linux? Regarding
> >> >Windows at least, and I believe Linux also, MySQL has got nothing to do
> >with
> >> >your problem. If PHP is not working on your system, probabily this is
> >> >something related to your web server. Are you sure the correct MIME types
> >> >are being used? Please give as much information as you can. Otherwise
> >it's
> >> >very difficult to come to a conclusion.
> >> >
> >> >BR,
> >> >
> >> >Fábio Ottolini
> >> >
> >> >P.S.: Consider upgrading to PHP4.04Pl1.
> >> >
> >> >----- Original Message -----
> >> >From: "Tim Samshuijzen" <[EMAIL PROTECTED]>
> >> >To: <[EMAIL PROTECTED]>
> >> >Sent: Saturday, February 03, 2001 10:02 PM
> >> >Subject: PHP does not work after upgrading MySQL to 3.23.32
> >> >
> >> >
> >> >>
> >> >>
> >> >> Hi,
> >> >>
> >> >> I have just upgraded from MySQL 3.22.32 to 3.23.32. Now PHP3 does
> >> >> not work. I've tried restarting httpd, but an error appears "file
> >> >> not found", and httpd fails to start up. HELP!
> >> >>
> >> >> What am I doing wrong?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Tim Samshuijzen
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> Before posting, please check:
> >> >> http://www.mysql.com/manual.php (the manual)
> >> >> http://lists.mysql.com/ (the list archive)
> >> >>
> >> >> To request this thread, e-mail <[EMAIL PROTECTED]>
> >> >> To unsubscribe, e-mail
> >> ><[EMAIL PROTECTED]>
> >> >> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> >---------------------------------------------------------------------
> >> >Before posting, please check:
> >> > http://www.mysql.com/manual.php (the manual)
> >> > http://lists.mysql.com/ (the list archive)
> >> >
> >> >To request this thread, e-mail <[EMAIL PROTECTED]>
> >> >To unsubscribe, e-mail
> >> <[EMAIL PROTECTED]>
> >> >Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> >> >
> >> >
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> Before posting, please check:
> >> http://www.mysql.com/manual.php (the manual)
> >> http://lists.mysql.com/ (the list archive)
> >>
> >> To request this thread, e-mail <[EMAIL PROTECTED]>
> >> To unsubscribe, e-mail
> ><[EMAIL PROTECTED]>
> >> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> >>
> >
> >
> >---------------------------------------------------------------------
> >Before posting, please check:
> > http://www.mysql.com/manual.php (the manual)
> > http://lists.mysql.com/ (the list archive)
> >
> >To request this thread, e-mail <[EMAIL PROTECTED]>
> >To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> >Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php