Ask a Question related to PHP Development, Design and Development.
-
Mark McCulligh #1
Re: [PHP] Installing PHP with MySQL RPM version
Thanks,
If you just use --with-mysql it will use PHP's built-in mysql client lib
3.23.49, but I have MySQL 4.0.14 installed. Won't this make a difference. I
want to make sure PHP is compiled this the right libraries for MySQL.
Mark.
"Ray Hunter" <bigdog@venticon.com> wrote in message
news:1063133321.11538.8.camel@bigdog.info.trw.com. ..RPM> > In the configure line --with-mysql=/path/to/mysql were is the path formysql> > versions of MySQL. I have search the computer but it looks like theBIN> > files are all over the place. Database files are in /var/lib/mysql>> > files are in /usr/bin/, etc...
> use --with-mysql or --with-mysql-sock
>
> example:
>
> ./configure --with-mysql
> ./configure --with-mysql-sock=/var/lib/mysql/mysql.sock
>
> hth
>
> --
> BigDogMark McCulligh Guest
-
New Version of Flash Player Not Installing
I am working with a person who is using IE 6.0 and had and older version of Flash Playere on their PC. When they are trying to access one of our... -
Should I delete Acrobat 5.1 before installing version 6.0 ???
I have just downloaded 6.0. However, I have a previous version 5.1 and want to know if I can delete it before installing 6.0. I also have Acrobat... -
Trial FWMX2004 and installing full version
Please, could you tell me - if I install trial version of FW MX2004 and then I buy full version, I must uninstall trial and install full or only... -
Question about installing a french version with a English key
I assemble computer for my friends and did one more last week. Unfortunatly, he forgot to tell me he wanted a french OS. Now Windows XP english... -
New user installing a Trial DB2 UBD version 8.1
Start then on Programs, right click (when Program is blued) and choose either Explore or Explore all users. Then put it back to the location... -
Ray Hunter #2
Re: [PHP] Installing PHP with MySQL RPM version
mark,
from what i understand of the configuration script it will go out and
look in various locations for the mysql libraries. If you want to
specify something then I would suggest using the --with-mysql-sock and
pass the socket file. I like to use the socket file and have always had
great success with it even for mysql 4.0
--
BigDog
On Tue, 2003-09-09 at 12:59, Mark McCulligh wrote:> Thanks,
>
> If you just use --with-mysql it will use PHP's built-in mysql client lib
> 3.23.49, but I have MySQL 4.0.14 installed. Won't this make a difference. I
> want to make sure PHP is compiled this the right libraries for MySQL.
>
> Mark.
>
>
> "Ray Hunter" <bigdog@venticon.com> wrote in message
> news:1063133321.11538.8.camel@bigdog.info.trw.com. ..> RPM> > > In the configure line --with-mysql=/path/to/mysql were is the path for> mysql> > > versions of MySQL. I have search the computer but it looks like the> BIN> > > files are all over the place. Database files are in /var/lib/mysql> >> > > files are in /usr/bin/, etc...
> > use --with-mysql or --with-mysql-sock
> >
> > example:
> >
> > ./configure --with-mysql
> > ./configure --with-mysql-sock=/var/lib/mysql/mysql.sock
> >
> > hth
> >
> > --
> > BigDogRay Hunter Guest
-
Brad Pauly #3
Re: [PHP] Installing PHP with MySQL RPM version
Mark McCulligh wrote:
I don't think this will change the client version. It is my> when I compiled with --with-mysql only, phpinfo() said:
> Client API version: 3.23.49
>
> I will recompile PHP with --with-mysql-sock instead.
understanding that this will just tell the client to look in a specific
place for the socket file.
I think you will need to specify the location using --with-mysql=[dir].> I want to make sure PHP is using the right MySQL Client version.
It is just a guess, but try --with-mysql=/usr
If you can't find where it is, one thing that might be worth considering
is whether or not you need the 4.0 client lib. Take a look at this link:
[url]http://www.mysql.com/doc/en/Upgrading-from-3.23.html[/url]
- Brad
Brad Pauly Guest



Reply With Quote

