atom feed3 messages in org.freebsd.freebsd-stableunixODBC || FreeBSD 5.3
FromSent OnAttachments
STAMPA 2Jan 27, 2005 1:38 pm 
Godwin StewartJan 27, 2005 1:52 pm 
Scot HetzelJan 27, 2005 2:00 pm 
Subject:unixODBC || FreeBSD 5.3
From:Scot Hetzel (swhe@gmail.com)
Date:Jan 27, 2005 2:00:44 pm
List:org.freebsd.freebsd-stable

On Thu, 27 Jan 2005 19:37:59 -0200, STAMPA 2 <stam@cultura.com.br> 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