Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 09:40:20 -0700 (PDT)
From:      Yujin Boby <vu3prx@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   PHP5 and MySQL 5 - undefined function mysql_connect
Message-ID:  <20050517164020.69678.qmail@web41103.mail.yahoo.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050517164020.69678.qmail>