Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 11:23:52 -0700 (PDT)
From:      Yujin Boby <vu3prx@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: PHP5 and MySQL 5 - undefined function mysql_connect
Message-ID:  <20050517182352.64672.qmail@web41106.mail.yahoo.com>
In-Reply-To: <000b01c55b11$7b6c6480$fe00a8c0@uzi>

next in thread | previous in thread | raw e-mail | index | archive | help
> does mysqli_connect() function works?

No, i am still getting error
Call to undefined function mysql_connect()

> 1. IMaybe the make.conf line should be
> WITH_MYSQL_VER=50

I modified /etc/make.conf and deinstalled php and
php5-extensions and installed both with make install
clean

But it won't solve the problem.

> 2. Make sure you have the databases/mysql50-client
> port installed (e.g. 
> pkg_info | grep mysql )

It is installed.

------
server16# pkg_info | grep mysql
mysql-client-5.0.3_1 Multithreaded SQL database
(client)
mysql-server-5.0.3_1 Multithreaded SQL database
(server)
php5-mysql-5.0.4_1  The mysql shared extension for php
------


> 3. For mysql_connect() support, select mysql support
> and not only mysqli 
> within the php-extensions port.

I don't install MySQli port as it show error, MySQL is
checkd and no errors are show.

But i am getting error when i install port at

server16# cd /usr/ports/databases/php5-mysql
server16# make
===>  php5-mysql-5.0.4_1 is marked as broken: unknown
MySQL version: 5.
server16#

Regards,

Yujin


		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html



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