From owner-freebsd-questions Thu Nov 11 6: 3: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.sy.ln.cn (pub.sy.ln.cn [202.96.64.111]) by hub.freebsd.org (Postfix) with ESMTP id 7C36414C1B for ; Thu, 11 Nov 1999 06:02:51 -0800 (PST) (envelope-from wwwind@mail.sy.ln.cn) Received: from pub.sy.ln.cn ([202.110.1.132]) by mail.sy.ln.cn (8.9.1a/8.9.1) with ESMTP id VAA16049 for ; Thu, 11 Nov 1999 21:59:56 +0800 (CST) Message-ID: <382ACC93.5C3C0D92@pub.sy.ln.cn> Date: Thu, 11 Nov 1999 22:02:59 +0800 From: ZhangJiYu Reply-To: wwwind@mail.sy.ln.cn X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.1-RELEASE i386) X-Accept-Language: zh, zh-TW, en, zh-CN MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: question about php3 and mysql Content-Type: multipart/alternative; boundary="------------2790A382C308FAAEC98BCEEF" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------2790A382C308FAAEC98BCEEF Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Hello: I installed apache-php3-1.3.4 , later installed mysql-3.22.16g , when I use function mysql_connect() , system say : PHP3 Error: Fatal error: Call to unsupported or undefined function mysql_connect() in /usr/local/www/data/test/db.php3 on line 8 Why ? I had added "extension=php3_mysql.so" in my php3.ini file . I use FreeBSD-3.1 Release . Should I delete apache-php3-1.3.4 and reinstall it ? on the other words , must install mysql-3.22.16g before install apache-php3-1.3.4 . Thank you very much for your reply !!! Zhang --------------2790A382C308FAAEC98BCEEF Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 7bit Hello:
           I installed apache-php3-1.3.4 , later installed mysql-3.22.16g , when I use function mysql_connect() , system say :
           PHP3 Error:
           Fatal error: Call to unsupported or undefined function mysql_connect() in
           /usr/local/www/data/test/db.php3 on line 8
           Why ? I had added "extension=php3_mysql.so" in my php3.ini file . I use FreeBSD-3.1 Release .
           Should I delete apache-php3-1.3.4 and reinstall it ? on the other words , must install mysql-3.22.16g before install apache-php3-1.3.4 .
           Thank you very much for your reply !!!
Zhang --------------2790A382C308FAAEC98BCEEF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message