From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 08:44:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3A63106566B for ; Wed, 24 Nov 2010 08:44:55 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 887CB8FC12 for ; Wed, 24 Nov 2010 08:44:55 +0000 (UTC) Received: by qwi4 with SMTP id 4so593465qwi.13 for ; Wed, 24 Nov 2010 00:44:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=5dJGXsDlb7wpvyUpeic+Va1PpIwQGukOsotUNAB+V50=; b=BXNRRSYLfkthg1E5EeK+hcp1jlSa3Nyeexm1Ydyt70sdP7ccjRAoFaVpW/tfVs3jiN IWFNM5c11o12Wi7sSJ5bGhKhvHQV2OV6fpuaojp4KGUtl8uj26B7Ts72vhs+9E9cx9Kl jR/XlknvrfexagnGHAKKKWuy8rEdNYWPPiE2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=d2Wpppoy2qLKRZnV4bOrfkbQye0NRlogd6TPsRc3RZKHnLHvIrXko4zfUdS4Vyw7M+ DC3t5MpxdaE+Fytg+COVo5W/mdmxpYcVoLWlde4eehry6/A1qbgOYmh93yibgwhi4F2R ffkBCCvDYs/GrsA2CKOyrYUKGM4iS6aiRekkw= MIME-Version: 1.0 Received: by 10.229.87.13 with SMTP id u13mr7242358qcl.202.1290588293999; Wed, 24 Nov 2010 00:44:53 -0800 (PST) Received: by 10.229.227.83 with HTTP; Wed, 24 Nov 2010 00:44:53 -0800 (PST) Date: Wed, 24 Nov 2010 09:44:53 +0100 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freebsd PHP extensions: missing option ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 08:44:55 -0000 There is something I would like clarified with PHP extension options... # cd /usr/ports/lang/php52-extensions # make showconfig | grep PDO PDO=on "PHP Data Objects Interface (PDO)" PDO_SQLITE=on "PDO sqlite driver" This corresponds with # cat /var/db/ports/php5-extensions/options | grep PDO WITH_PDO=true WITH_PDO_SQLITE=true However, the interactive menu, displays one more option: PDO_MYSQL # cd /usr/ports/lang/php52-extensions # make config ... [X] PDO PHP Data Objects Interface (PDO) [X] PDO_SQLITE PDO sqlite driver [X] PDO_MYSQL PDO mysql driver --> 1st question: why does the options file not contain a WITH_PDO_MYSQL=true line ? and if I further look: $ pkg_info | grep pdo php52-pdo-5.2.14_1 The pdo shared extension for php php52-pdo_mysql-5.2.14_1 The pdo_mysql shared extension for php php52-pdo_pgsql-5.2.14_1 The pdo_pgsql shared extension for php php52-pdo_sqlite-5.2.14_1 The pdo_sqlite shared extension for php $ grep pdo /usr/local/etc/php/extensions.ini extension=pdo.so extension=pdo_mysql.so extension=pdo_sqlite.so extension=pdo_pgsql.so in a web browser phpinfo.php also tells me: PDO support enabled PDO drivers pgsql, sqlite, mysql So I also have and use also pdo_pgsql The interactive menu for php5 extensions does not provide a [ ] PDO_PGSQL option --> 2nd question: why not such an option in the interactive menu? Some other ports need pdo_pgsql and install it along with the port as a dependency, e.g. davical. I installed that in march 2010 and did several portugprades (0.9.7.6, 0.9.8.1, 0.9.8.4 - no problems). But from version 0.9.9 onwards davical doesn't want to portupgrade any longer and throws a message 'Unknown extension pdo_pgsql for PHP52' ... This must be related with the configuration of php extensions, but the file /var/db/ports/php5-extensions/options should not be edited manually. 3rd question: How to solve this?