From owner-freebsd-ports@FreeBSD.ORG Tue May 17 16:49:28 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91F8216A4D0 for ; Tue, 17 May 2005 16:49:28 +0000 (GMT) Received: from smtp4.actcom.co.il (smtp4.actcom.co.il [192.114.47.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41F8943DBD for ; Tue, 17 May 2005 16:49:25 +0000 (GMT) (envelope-from uzi@bmby.com) Received: from uzi (line26-112.adsl.actcom.co.il [192.115.26.112]) by smtp4.actcom.co.il (8.13.3/8.13.3) with SMTP id j4HGnGC0030702; Tue, 17 May 2005 19:49:20 +0300 Message-ID: <001e01c55b08$d9e42240$fe00a8c0@uzi> From: "Uzi Klein" To: "Yujin Boby" References: <20050517164020.69678.qmail@web41103.mail.yahoo.com> Date: Tue, 17 May 2005 19:49:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 cc: freebsd-ports@freebsd.org Subject: Re: PHP5 and MySQL 5 - undefined function mysql_connect X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 16:49:28 -0000 ----- Original Message ----- From: "Yujin Boby" To: Sent: Tuesday, May 17, 2005 6:40 PM Subject: PHP5 and MySQL 5 - undefined function mysql_connect > Hi, > > I have installed PHP from > > cd /usr/ports/lang/php5 > make install clean > > Then > > cd /usr/ports/lang/php5-extensions > make install clean > > Shows error > > ------------- > ===> php5-mysqli-5.0.4_1 Doesn't work with MySQL > version : 50 (Doesn't support MySQL 323 40 50). > *** Error code 1 > > Stop in /usr/ports/databases/php5-mysqli. > *** Error code 1 > > Stop in /usr/ports/lang/php5-extensions. > ------------- > > I have MySQL 5 installed from latest ports, i have > cvsup before installing everything. FreeBSD is 5.4 > mysqli extension is designed for mysql >= 4.1 PHP compiles with the mysql client library (ssems like 3.23 here) You probably want WITH_MYSQL_VER=5 in your make.conf [......] > Fatal error: Call to undefined function > mysql_connect() mysql_connetct() uses the mysql extension and not mysqli Regrads U > ------------- > > How do i correct this ? > > Regards, > > Yujin > > > > > __________________________________ > Do you Yahoo!? > Make Yahoo! your home page > http://www.yahoo.com/r/hs > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >