From owner-freebsd-apache@FreeBSD.ORG Sun Sep 17 07:54:47 2006 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 714B516A403 for ; Sun, 17 Sep 2006 07:54:47 +0000 (UTC) (envelope-from herriojr@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48E243D58 for ; Sun, 17 Sep 2006 07:54:46 +0000 (GMT) (envelope-from herriojr@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so2706995nfc for ; Sun, 17 Sep 2006 00:54:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=njOY6yGu9Cah8SV9bpsiSHO3HJ/UOHeD7yNR9CwrjbuHFSsC1lAK7T+Osflwp6n2e/Oc+DU6SAn6B8+/JWAmPlOU+EHgWzJrWj9POUvYsPEtsxtdS9cxQl8VoVNGi8BOQdgEALxS195H/9HJpzczE+pyE2hGAozKHiEnAbcq214= Received: by 10.78.200.3 with SMTP id x3mr2723958huf; Sun, 17 Sep 2006 00:54:44 -0700 (PDT) Received: by 10.78.184.8 with HTTP; Sun, 17 Sep 2006 00:54:44 -0700 (PDT) Message-ID: <6a56d69c0609170054u4d4dd2c0h5f4a8ce152007aa2@mail.gmail.com> Date: Sun, 17 Sep 2006 03:54:44 -0400 From: "Jonathan Herriott" To: freebsd-apache@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: installing php-mysql X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 07:54:47 -0000 Hi all, Sorry if I posted in the wrong spot. If you could point me to the right boards, I'll repost. Anways, Here is my install so far for my webserver: apache-1.3.34_4 mysql-server-5.1.6_2 mysql-client-5.1.6_1 php5-5.1.2_1 After trying to do a mysql_connect, I found that I needed to download the php5-mysql port. It has problems when installing the port because it says it requires a previous version of mysql-client. Is there a way I can get around this? I tried the following: > sudo pkg_add -fr php5-mysql Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/php5-mysql.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/All/mysql-client-4.1.18_1.tbz... Done. pkg_add: package 'mysql-client-4.1.18_1' conflicts with mysql-client-5.1.6_1 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'mysql-client-4.1.18_1' failed (proceeding anyway) pkg_add: can't open dependency file '/var/db/pkg/mysql-client-4.1.18_1/+REQUIRED_BY'! Is there a way I can get around this and still use the port? Is there something I should add to my php.ini file? Thanks for help in advance. Thanks, Jonathan Herriott