unixODBC || FreeBSD 5.3

Scot Hetzel swhetzel at gmail.com
Thu Jan 27 13:59:23 PST 2005


On Thu, 27 Jan 2005 19:37:59 -0200, STAMPA 2 <stampa2 at 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


More information about the freebsd-stable mailing list