From owner-freebsd-questions@FreeBSD.ORG Sun Aug 27 21:17:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2FC616A4E2 for ; Sun, 27 Aug 2006 21:17:07 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B3C943D45 for ; Sun, 27 Aug 2006 21:17:02 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id k7RLGaMt009062; Sun, 27 Aug 2006 22:16:37 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk k7RLGaMt009062 Message-ID: <44F20BAB.2070408@infracaninophile.co.uk> Date: Sun, 27 Aug 2006 22:16:27 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: Muhammad Omer Iqbal References: <000a01c6c9f8$e3aa77b0$0202a8c0@rakaposhi> In-Reply-To: <000a01c6c9f8$e3aa77b0$0202a8c0@rakaposhi> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig01A606B14133B014CF2D4804" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 27 Aug 2006 22:16:57 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.4/1736/Sun Aug 27 17:33:34 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, DKIM_POLICY_TESTING,NO_RELAYS autolearn=ham version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: PHP5 and MySQL 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: Sun, 27 Aug 2006 21:17:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig01A606B14133B014CF2D4804 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Muhammad Omer Iqbal wrote: > And by the way, I already have MySQL 5.0 as a .tar in the mysql folder,= so > probably all I need to do is let php5-mysql extension know how to acces= s > that .tar file.=20 A .tar of what? The sources? Better put them into /usr/ports/distfiles. > It seems strange to have to install it again especially when I installe= d > php5-extensions with mysql and mysqli extensions. Hmmm... Well that should have installed the php5-mysql port for you, certainly. =20 > When I tried to make, it tries to fetches MySQL 4.1 whereas I have 5.0 > installed. How can I update the version? Hmmm... Seems you have a version of the ports tree which is a few months out of date. > I have updated Makefile.ext in PHP5 directory with DEFAULT_MYSQL_VER=3D= 50, but > to no avail. As a basic rule you should never have to directly edit any file within the port directory. To make mysql-5.0.x the default version on your system, edit /etc/make.co= nf and add: WITH_MYSQL_VER=3D 50 Then do a 'make clean' in the php-mysql port and try again. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig01A606B14133B014CF2D4804 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE8gu08Mjk52CukIwRCHOcAKCPEcI6zyJocrlnLDByjzjSqOCG4gCaAyrf yp9M3GRBJb0uUPLY+zKPHbA= =PdcE -----END PGP SIGNATURE----- --------------enig01A606B14133B014CF2D4804--