From owner-freebsd-ports@FreeBSD.ORG Tue May 17 16:40:29 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 054FA16A4CE for ; Tue, 17 May 2005 16:40:28 +0000 (GMT) Received: from web41103.mail.yahoo.com (web41103.mail.yahoo.com [66.218.93.19]) by mx1.FreeBSD.org (Postfix) with SMTP id A2AAD43D67 for ; Tue, 17 May 2005 16:40:28 +0000 (GMT) (envelope-from vu3prx@yahoo.com) Received: (qmail 69680 invoked by uid 60001); 17 May 2005 16:40:21 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=UIx2Rwdj1E1Lz5j2kf4ru2CW5K0ZbVV3O/G71ExCXRus1oPSIBvkFpDkA4l0SmWLYfhaGz2Ozl9YwpwYTFTeI6rf40V9aDeg6WTBlRd+VyjHrPsZlzP/Vdc+y/skhJ76fSq2cVrKU5vn/3Iwr6ZCimk65pjZreHGvNOYcHJPqS8= ; Message-ID: <20050517164020.69678.qmail@web41103.mail.yahoo.com> Received: from [220.226.8.216] by web41103.mail.yahoo.com via HTTP; Tue, 17 May 2005 09:40:20 PDT Date: Tue, 17 May 2005 09:40:20 -0700 (PDT) From: Yujin Boby To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: 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:40:29 -0000 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 Now i got PHP 5 installed http://72.36.166.220/phpinfo.php But PHP MySQL functions are not available ------------- Fatal error: Call to undefined function mysql_connect() ------------- 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