[PHP] Installing PHP with MySQL RPM version

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default 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. ..
    > > In the configure line --with-mysql=/path/to/mysql were is the path for
    RPM
    > > versions of MySQL. I have search the computer but it looks like the
    mysql
    > > files are all over the place. Database files are in /var/lib/mysql
    BIN
    > > 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
    >
    > --
    > BigDog
    Mark McCulligh Guest

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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. ..
    > > > In the configure line --with-mysql=/path/to/mysql were is the path for
    > RPM
    > > > versions of MySQL. I have search the computer but it looks like the
    > mysql
    > > > files are all over the place. Database files are in /var/lib/mysql
    > BIN
    > > > 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
    > >
    > > --
    > > BigDog
    Ray Hunter Guest

  4. #3

    Default Re: [PHP] Installing PHP with MySQL RPM version

    Mark McCulligh wrote:
    > when I compiled with --with-mysql only, phpinfo() said:
    > Client API version: 3.23.49
    >
    > I will recompile PHP with --with-mysql-sock instead.
    I don't think this will change the client version. It is my
    understanding that this will just tell the client to look in a specific
    place for the socket file.
    > I want to make sure PHP is using the right MySQL Client version.
    I think you will need to specify the location using --with-mysql=[dir].
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139