Oh thanks for your answer. Of course i used --with-mssql in my php-configure, just a typo :-). ill try running the script on the php command line version and report back... what kind of error is a segmentation fault? and how can it be fixed? PS: Im using the nightly build of freeTDS and PHP 4.3.9RC1 on Suse linux. Many thanks, Petar