Re: unixODBC || FreeBSD 5.3

2005-01-27 Thread Scot Hetzel
On Thu, 27 Jan 2005 19:37:59 -0200, STAMPA 2 <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have a FreeBSD 5.3 at my server. I just set up:
> 
> 1. Mysql41-server (default install)
> 2. PHP5 (+ Apache2)
> 3. samba3..
> 
> My problem is that PHP5 doesn´t call unixODBC, as PHP4 does!
> 
> What or where can I configure PHP5 to read Mysql through Apache2?
> 
> I already set up unixODBC (/usr/ports/databases/unixODBC/make && make 
> install), but just that!
> Will it work? Do I have to set up anything else?, for example odbc.ini 
> (empty) odbcinst.ini (empty)
> 
Install the databases/php5-mysql and/or databases/php5-odbc ports. 
You can use the lang/php5-extensions port to select the appropriate
php5-* ports you need.

Scot
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: unixODBC || FreeBSD 5.3

2005-01-27 Thread Godwin Stewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 27 Jan 2005 19:37:59 -0200, "STAMPA 2" <[EMAIL PROTECTED]>
wrote:

> What or where can I configure PHP5 to read Mysql through Apache2?

PHP doesn't need ODBC to talk to a MySQL server. Just use the MySQL
functions included in PHP:

http://br.php.net/manual/pt_BR/ref.mysql.php

- -- 
G. Stewart - [EMAIL PROTECTED]

Health nuts are going to feel stupid someday, lying
in hospitals dying of nothing.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB+WJoK5oiGLo9AcYRAopkAJ4t0TMgZd1uEzxJ4uY6BU1i1LVO6ACeJGIW
522VIXaILuG8J8iYkOFCfiI=
=vEL8
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unixODBC || FreeBSD 5.3

2005-01-27 Thread STAMPA 2
Hi,

I have a FreeBSD 5.3 at my server. I just set up:

1. Mysql41-server (default install)
2. PHP5 (+ Apache2)
3. samba3..

My problem is that PHP5 doesn´t call unixODBC, as PHP4 does!

What or where can I configure PHP5 to read Mysql through Apache2?

I already set up unixODBC (/usr/ports/databases/unixODBC/make && make install), 
but just that!
Will it work? Do I have to set up anything else?, for example odbc.ini (empty) 
odbcinst.ini (empty)

Thanks for any help.

Pedro H.
Brasil!

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"