[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache(+php4-sybase) core dump



On Tue, Jun 22, 2004 at 08:44:57PM -0500, Ramon Reyes Carrion wrote:
> I am trying to add (non ct) sybase extension to php4+freetds, to connect
> to a Microsoft SQL Server 2000.

I'm connecting to MSSQL 2000 with 

I've added this to the /usr/ports/www/php4/extensions/Makefile:

# mssql
PSEUDO_FLAVORS+=       no_mssql
.if ${FLAVOR:L:Mno_mssql}
CONFIGURE_ARGS+=       --without-mssql
.else
MULTI_PACKAGES+=       -mssql
COMMENT-mssql=         "mssql database access extensions for php4"
CONFIGURE_ARGS+=        --with-mssql=shared,${LOCALBASE}
MSSQL_DEPENDS=         tds.0,ct.0::databases/freetds
.endif

and a corresponding pkg/DESCR-mssql:

These functions allow you to access Microsoft SQL Server database 
servers. More information about Microsoft SQL Server can be found 
at http://www.microsoft.com/sql.

and a pkg/PLIST-mssql:

@comment $OpenBSD: PLIST-mssql,v 1.1.1.1 $
lib/php/modules/mssql.so


This creates a php4-mssql-4.3.5RC3 extension that you can add and 
activate just like any other extension.  Don't forget to copy your
freetds.conf to /var/www/etc so it works inside the chroot.

Hope this helps

-Mark



Visit your host, monkey.org