RE: [PHP] Re-compiling PHP
| From: | Mike R | Date: | Fri, 22 Oct 2004 13:26:34 +0000 |
| Subject: | RE: [PHP] Re-compiling PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200084@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
This is what I got when I did that:
mysql is already the newest version.
mysql-devel is already the newest version.
0 packages upgraded, 0 newly installed, 0 removed and 75 not upgraded.
?
:\
-Mike