RE: [PHP] Re-compiling PHP
| From: | Robby Russell | Date: | Thu, 21 Oct 2004 20:10:45 +0000 |
| Subject: | RE: [PHP] Re-compiling PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200028@lists.php.net to get a copy of this message | ||
On Thu, 2004-10-21 at 16:05 -0400, Mike R wrote:
> > On Thu, 21 Oct 2004 15:35:09 -0400, Mike R
> > <spycobalt@spyproductions.com> wrote:
> > > Even after re-compiling with the location of the mysql headers, it still
> > > won't work. :\
> > >
> > > Pretty discouraging. What version of PHP did they start dropping the
> > > libraries? Maybe I need to just upgrade to that version......
> >
> > What does the --with-mysql portion of your ./configure command look like?
> >
> > Do you actually have any files on your system named libmysql* ? A
> > quick check on two systems I have access to, Suse 9.1 and Debain
> > Sarge, they are in the same place: /usr/lib/libmysqlclient*. that
> > means I would have installed PHP like --with-mysql=/usr .
> >
> > How is your MySQL installed? From RPMs? If so do you have the MySQL
> > development RPMs installed? What OS are you running?
>
> Redhat 7.3, I believe MySQL was installed with an RPM. No, I don't have any
> development RPMs installed. Should I maybe recompile MySQL first?
>
> Thanks,
>
> -Mike
find the mysql-devel package that matches the version you are running.
tip: download apt from freshrpms.net
http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/apt/
install the rpm for apt... then run:
apt-get update
apt-get install mysql mysql-devel
-Robby
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | robby@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
****************************************/
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc