带有MAMP的SQL Server

I'm trying to make a SQL Server request with MAMP, but it doesn't work. Here's what I did and try.

I first installed SQL Server on my MAMP by following these steps : http://www.tumblr.com/tagged/mssql+mamp+php+mac+osx (keep in mind you have to close your MAMP to install it)

All went well and SQL Server is installed (checked with phpinfo).

I have a php file that I made :

<?php
    error_reporting(E_ALL);

    $server = 'myserver';
    $user = 'myuser';
    $pass = 'mypass';

    $link = mssql_connect( $server, $user, $pass );

    if(!$link) {
        die('Erreur de connexion à MSSQL');
    }

When I run this php file in command line, the connection works. But when I call the same php file from the browser, i get that error:

*Erreur 324 (net::ERR_EMPTY_RESPONSE) : Le serveur a mis fin à la connexion sans envoyer de données.*

I've tailed every logs possible with no success (php, apache, freeTDS)

If someone have an idea of where I should look next or do, I would greatly appreciate your advice