From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 00:10:50 2005 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 C977516A4CE for ; Tue, 1 Feb 2005 00:10:50 +0000 (GMT) Received: from brian.firebadger.net (82-69-4-157.dsl.in-addr.zen.co.uk [82.69.4.157]) by mx1.FreeBSD.org (Postfix) with SMTP id CFECC43D39 for ; Tue, 1 Feb 2005 00:10:49 +0000 (GMT) (envelope-from richard@firebadger.net) Received: (qmail 16927 invoked from network); 1 Feb 2005 01:11:00 -0000 Received: from unknown (HELO ?192.168.1.10?) (192.168.1.10) by 192.168.1.15 with SMTP; 1 Feb 2005 01:11:00 -0000 Date: Tue, 01 Feb 2005 00:10:44 GMT From: Richard Collyer To: Ken Hawkins , questions@freebsd.org In-Reply-To: <76c665ee4d25a9c6f0236bdf21b1b7b3@broadjam.com> References: <76c665ee4d25a9c6f0236bdf21b1b7b3@broadjam.com> Message-Id: <20050201000520.43FA.RICHARD@firebadger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.10 [en] (beta4) Subject: PHP Installed (Was: No Subject) 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: Tue, 01 Feb 2005 00:10:50 -0000 Hello, Do pkg_version -v You should get an output telling you what is installed on your system. Like this.. php4-mysql-4.3.10_2 which tells you that mysql is installed. Afaik you have to instal mysql support into apache manually. I say afaik as it was a long time since I installed mysql and php onto my machine. Go to: /usr/ports/databases/php4-mysql do a make install and all should be well. Alternativly look at /usr/ports/lang/php4-extensions/ Bit of a bad answer but the best I can do this late at night. Cheers Richard On Mon, 31 Jan 2005 13:58:46 -0500 Ken Hawkins wrote: > I have installed pear5-php which installed php and mod_php for apache13. > > however when calling mysql_pconnect within a php page i get: > > [Mon Jan 31 10:40:21 2005] [error] PHP Fatal error: Call to undefined > function: mysql_pconnect() in /.../phpPollUI6.php on line 77 > > I have a couple of questions. > > how can I verify that mysql support (possibly ? php-mysql ?) is > installed? > > what steps do I need to take to ensure that this gets installed as part > of my installation of apache13, php, mod_php, phpmyadmin, and phpbb? > > thanks in advance! > ken; > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Richard Collyer