Skip to Content.
Sympa Menu

freetds - PHP4.05, Apache 1.3.20, FreeTDS 0.51-0.52 & use of stored procedures

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Dmitry Komarov" <dmit AT tkb.lv>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: PHP4.05, Apache 1.3.20, FreeTDS 0.51-0.52 & use of stored procedures
  • Date: Fri, 29 Jun 2001 03:41:52 -0400


I have installed FreeTDS on my Linux system to connect to my MS-SQL 6.XX
server from PHP4 scripts. It works quite well, BUT... When I try to execute a
stored procedure from my SQL server, the Apache child dies with a
"Segmentation fault" message in the error_log file. Trivial "SELECT",
"INSERT" etc queries work just fine. What should be the reason for this?...

I use the following syntax:

$result = mssql_query("execute WWWGetInfo @CustId='BnRd', @Lang = 'LV'",
$connect_id );

May be I should use another way of calling stored procedures?




Archive powered by MHonArc 2.6.24.

Top of Page