From owner-freebsd-questions@FreeBSD.ORG Thu Mar 29 09:03:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05A3C16A404 for ; Thu, 29 Mar 2007 09:03:04 +0000 (UTC) (envelope-from spil.oss@googlemail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id BD7F313C4B7 for ; Thu, 29 Mar 2007 09:03:03 +0000 (UTC) (envelope-from spil.oss@googlemail.com) Received: by an-out-0708.google.com with SMTP id c24so116643ana for ; Thu, 29 Mar 2007 02:03:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Vmdua8h9LHoVw/iACox/YUfnLiW2UUBcpRMG8VySjRB7i34a/waVgYifhLHZt5mFTEmBagN/E0q2d1HJjzeyoM4ijkWaWzIB6khtFHA0SxH8PlLr1uHBHTNRUtQp78AUI8bI2zyDxx//SKluPi7KdbBkH/8rcwKMLTwdETi9RpE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=aWb4F4hvUsBw1ENgxij+XFpGOuMAh0nQS6e6o6L38Nj5K+MqFf/6MKKSxCK8uoV7sN6/S3nAL9507+heHh1n3yl0Q6JSNjfQ7Z3tQHYFWOq6UyNdQVlve1FOauRpWVQ1xQ13MXs/VnUHOM3xQ2azbFwfSQ2YkneBZVQFUCMxQ8s= Received: by 10.100.94.3 with SMTP id r3mr198550anb.1175157370196; Thu, 29 Mar 2007 01:36:10 -0700 (PDT) Received: by 10.100.92.4 with HTTP; Thu, 29 Mar 2007 01:36:10 -0700 (PDT) Message-ID: <5fbf03c20703290136y3d2aaa0bi87640bd24f51cedb@mail.gmail.com> Date: Thu, 29 Mar 2007 10:36:10 +0200 From: "Spil Oss" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: mysqli vs mysql X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: spil.oss@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 09:03:04 -0000 Hi all, (Questions towards the end of the mail) Recently I've been looking at my web-applications and all of them support both mysql and mysqli php-modules (i.e. phpMyAdmin, roundcube, gallery2). Both php5-mysql and php5-mysqli ports are installed on my system. Only phpMyAdmin offers a knob for mysqli, the other ports support mysqli but have no knob in the port. To my knowledge, the mysqli php-module does not depend on the mysql php-module in any way. Setting WITH_MYSQLI for phpMyAdmin will add a dependency to the mysqli php-module, and leave the dependency on the mysql php-module in place. Should it be possible for these ports to depend on either mysql or mysqli in addition to depending on both of them (for those that want that)? Should the knob be WITH_MYSQLI, if set use mysqli, if not set fall back to whatever the port's default mysql-connection? Should the knob WITH_MYSQL be used to depend on both MYSQL and MYSQLI if both are set? I would be happy to supply the maintainers with patches to these ports. Kind regards, Spil