From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 16:06:52 2004 Return-Path: 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 7AF0416A4CE for ; Thu, 19 Aug 2004 16:06:52 +0000 (GMT) Received: from theatre.msu.edu (theatre.msu.edu [35.8.69.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28C4543D1F for ; Thu, 19 Aug 2004 16:06:52 +0000 (GMT) (envelope-from sagejona@theatre.msu.edu) Received: from [192.168.0.4] (d47-69-71-213.try.wideopenwest.com [69.47.213.71]) (authenticated bits=0) by theatre.msu.edu (8.12.11/8.12.11) with ESMTP id i7JG6mds060316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Aug 2004 12:06:48 -0400 (EDT) (envelope-from sagejona@theatre.msu.edu) Message-ID: <4124D01C.8010107@theatre.msu.edu> Date: Thu, 19 Aug 2004 12:06:52 -0400 From: "Jonathan T. Sage" Organization: MSU Dept of Theatre User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark References: <200408191601.i7JG1Z4N031017@redtick.homeunix.com> In-Reply-To: <200408191601.i7JG1Z4N031017@redtick.homeunix.com> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Phone: +1-517-974-1428 X-WWW-Home-Page: http://theatre.msu.edu X-PGP-Key-Figerprint: 182C CF3F 93A9 1DAA 2EBE D4D5 A159 96D9 452E A7F1 X-IM: AIM(jonathantsage,spartyman), ICQ(9587621), YIM(wisesage98) Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5FD5C5EFB11D758635F5FA0F" X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on www.theatre.msu.edu X-Virus-Scanned: clamd / ClamAV version devel-20040526, clamav-milter version 0.71 X-Virus-Status: Clean cc: freebsd-questions@freebsd.org Subject: Re: php4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 16:06:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5FD5C5EFB11D758635F5FA0F Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mark wrote: > after a portupgrade I have lost mysql support with php4. > I have pkg_deinstalled did a make--with-mysql=/usr/local/bin/mysql > and pkg_reinstall but no support. Then portupgrade -m --with-mysql=/usr/local/bin/mysql php4. Then pkg_delete did make --with-mysql=/usr/local/bin/mysql then make install still no support. Mysql is there and working, logins work from command line and data is there. But from apache php is working but with no mysql support, phpinfo shows no mysql module loaded. > > A whereis gave me the /usr/local/bin/mysql, What would be the proper way to add support > with php4 already installed?? Mark : per ports/UPDATING: 20040719: AFFECTS: users of PHP AUTHOR: ale@FreeBSD.org The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP, PEAR, and shared extensions to allow more flexibility and add new features. Upgrading your current PHP installation will result in a 'base' PHP installation (no PEAR and no extensions). PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while the set of PHP extensions to install can be choosen via the meta-ports lang/php4-extensions and lang/php5-extensions, or installing singular extensions individually. If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. For an overview of the modules used with the old PHP binary, use the command "php -m". installing lang/php4-extensions should be helpful. hope this helps, ~j -- Jonathan T. Sage Theatrical Lighting / Set Designer Professional Web Design "He said he likes me, but he's not in-like with me."- Connie, King of the Hill [HTTP://www.JTSage.com] [HTTP://design.JTSage.com] [sagejona@msu.edu] [See Headers for Contact Info] --------------enig5FD5C5EFB11D758635F5FA0F 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.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBJNAcoVmW2UUup/ERAlU6AJ9BDtNaf6Mo24jV9KzcKRaStUEB8wCfXmBZ nsuZJTiDaLc0vwYXgmAA8m0= =7B1W -----END PGP SIGNATURE----- --------------enig5FD5C5EFB11D758635F5FA0F--