Building PHP with mysql and mysqli

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zachary Kessin

    Building PHP with mysql and mysqli


    I am trying to build PHP 5.0.4 with both Mysql and mysqli and I'm not
    having any luck. It keeps barfing on the libraries. How do I build it
    such that I can enable both. I know it can be done, but am not sure
    how.

    --Zach
  • Andy Hassall

    #2
    Re: Building PHP with mysql and mysqli

    On 03 Apr 2005 08:27:54 +0300, Zachary Kessin <zkessin@cs.bra ndeis.edu> wrote:
    [color=blue]
    >I am trying to build PHP 5.0.4 with both Mysql and mysqli and I'm not
    >having any luck. It keeps barfing on the libraries. How do I build it
    >such that I can enable both. I know it can be done, but am not sure
    >how.[/color]

    I just specified --with-mysql=/usr and --with-mysqli and it works.

    You need to define what you mean by "barfing on the libraries".

    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    • Google Mike

      #3
      Re: Building PHP with mysql and mysqli

      Have you tried doing this through the Linux apt tool instead? Apt makes
      it all so simple.

      For others who read this -- I don't know where to get PHP 5.x on the
      web via apt, so I was wondering if you could point me at a repository.
      Meanwhile, I'd need to know where the other typical PHP libraries are
      stored so that I could retrieve those via apt as well.

      Comment

      • Simon Leung

        #4
        Re: Building PHP with mysql and mysqli

        Zachary Kessin <zkessin@cs.bra ndeis.edu> wrote in message news:<m33bu8ig4 l.fsf@kessin.ho melinux.org>...[color=blue]
        > I am trying to build PHP 5.0.4 with both Mysql and mysqli and I'm not
        > having any luck. It keeps barfing on the libraries. How do I build it
        > such that I can enable both. I know it can be done, but am not sure
        > how.
        >
        > --Zach[/color]

        The Improved MySQL libraries only with these versions or higher : PHP5 + MySQL4.1.2

        Simon

        Comment

        Working...