Re: mssql_* from Linux: Apache segfault writing to db

From: Date: Thu, 28 Sep 2000 02:51:13 +0000
Subject: Re: mssql_* from Linux: Apache segfault writing to db
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17844@lists.php.net to get a copy of this message
Matt, try using a snapshot of freetds - if you're using the .50 from their site, it's REALLY old. Loads of updates in the snapshot. Matt Cooney wrote: > Probably not the typical PHP combo -- I'm accessing SQL Server from PHP4 on a > Linux box. I can connect to SQL Server and browse databases -- but when I try to > write to the database the connection to the browser is dropped. Interestingly, > the database is updated. > > There are no error messages logged by php, but the Apache error log records a > segmentation fault: > > [Thu Sep 28 12:34:07 2000] [notice] child pid 13843 exit signal Segmentation > fault (11) > > PHP 4.02 is running on a Red Hat 6.1 machine, accessing SQL Server 7.0 running > on W2K. I compiled PHP following instructions I found on the annotated manual at > the PHP site (very handy!), using freetds version 0.50, built thus: > > ./configure --prefix=/usr/local/freetds --with-tdsver=4.2 --enable-dbmfix > > (I found I couldn't connect to the server at all using tdsver=7.0, although the > docs suggest that should be ok.) > > PHP was compiled like this: > > ./configure [...] --with-sybase=/usr/local/freetds > > Has anybody seen this problem, or have a clue how to fix it? I've seen mention > of it in the list archives but no solutions posted. > > Out of interest, has anybody successful connected to SQL Server 2000 from PHP > running on Linux/Unix? > > I'm on the digest so a cc: would be appreciated. > > Thanks, > Matt > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ========================== Michael Kimsal http://www.tapinternet.com 734-480-9961

« previous php.general (#17844) next »