Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 10:58:46 -0800
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        wwwind@mail.sy.ln.cn
Cc:        freebsd-questions@freebsd.org
Subject:   Re: question about php3 and mysql
Message-ID:  <382C6366.25C8CA2D@bigfoot.com>
References:  <382ACC93.5C3C0D92@pub.sy.ln.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
ZhangJiYu wrote:
> 
> 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

You need the mysql package/port installed before you can build support
for it into php3, so, yes, you should delete apache-php3 and reinstall
it.


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?382C6366.25C8CA2D>