Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 1999 22:02:59 +0800
From:      ZhangJiYu <wwwind@mail.sy.ln.cn>
To:        freebsd-questions@freebsd.org
Subject:   question about php3 and mysql
Message-ID:  <382ACC93.5C3C0D92@pub.sy.ln.cn>

next in thread | raw e-mail | index | archive | help

--------------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

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I installed
apache-php3-1.3.4 , later installed mysql-3.22.16g , when I use function
mysql_connect() , system say :
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>PHP3
Error:</i>
<br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fatal
error: Call to unsupported or undefined function mysql_connect() in</i>
<br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/www/data/test/db.php3
on line 8</i>
<br><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </i>Why
? I had added "extension=php3_mysql.so" in my php3.ini file . I use FreeBSD-3.1
Release .
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 .
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank
you very much for your reply !!!
<br>Zhang</html>

--------------2790A382C308FAAEC98BCEEF--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?382ACC93.5C3C0D92>