From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 18:19:20 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 B15BB16A4CE for ; Mon, 4 Oct 2004 18:19:20 +0000 (GMT) Received: from redtick.homeunix.com (adsl-209-30-229-254.dsl.ksc2mo.swbell.net [209.30.229.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D7CA43D48 for ; Mon, 4 Oct 2004 18:19:20 +0000 (GMT) (envelope-from boxend@redtick.homeunix.com) Received: from redtick.homeunix.com (localhost.homeunix.com [127.0.0.1]) i94IIKqS048995; Mon, 4 Oct 2004 13:18:20 -0500 (CDT) (envelope-from boxend@redtick.homeunix.com) Received: (from boxend@localhost) by redtick.homeunix.com (8.12.10/8.12.10/Submit) id i94IIJ0c048994; Mon, 4 Oct 2004 13:18:19 -0500 (CDT) (envelope-from boxend) Date: Mon, 4 Oct 2004 13:18:19 -0500 From: Mark To: Perica Veljanovski Message-ID: <20041004181819.GA48978@redtick.homeunix.com> References: <20041004172756.E079.FREEBSD@euro.net.mk> <20041004153633.GA48326@redtick.homeunix.com> <20041004194144.E07B.FREEBSD@euro.net.mk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041004194144.E07B.FREEBSD@euro.net.mk> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: problem with php mysql 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: Mon, 04 Oct 2004 18:19:20 -0000 I assume you did restart the box, I had to, for some reason a killall -HUP mysql, apache, php, did not start the added moduals. Start off doing a pkg_info to see the added moduals listed, should be a php5-mysql-5.0.1 or something like it. On Mon, Oct 04, 2004 at 07:43:10PM +0200, Perica Veljanovski wrote: > I cvsup-ed the ports tree and installed the php5-extensions and still > the same err. > > any other ideas? > > > > > read /usr/ports/UPDATING > > then install php5-extensions-1.0 > > > > > > I had the same problem =) > > > > > > On Mon, Oct 04, 2004 at 05:27:58PM +0200, Perica Veljanovski wrote: > > > Hi all, > > > > > > I have trouble installing/configuring php with mysql support. I tired > > > installing the php5 interpreter WITH_MYSQL=yes from the ports, and when > > > I try to start a mysql_connect(); php syntax, i get: > > > > > > Call to undefined function mysql_pconnect() in someFile.php on line N. > > > > > > I tired installing mod_php5 (first i removed lang/php5) and the same > > > thing happens. > > > php.ini and httpd.conf are ok as far as I can tell :P But since I'm not > > > experienced in Apache/php configuration, I would appreciate some pointers > > > to where should I look for mysql support configuration. > > > > > > I run on a cvsup-ed 4.7 to FreeBSD 4.10-STABLE (port's cvsuped allso) > > > I have: > > > mysql-client-5.0.0_2 Multithreaded SQL database (client) > > > mysql-server-5.0.0_2 Multithreaded SQL database (server) > > > apache-2.0.50 Version 2 of Apache web server with prefork MPM. > > > mod_php5-5.0.0,1 PHP Apache Module > > > All installed from ports. > > > > > > 10x ahead. > > > -- > -- ============================================================================== The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately. ==============================================================================