Re: Problem with PHP 4.4.4 and MSSQL in Centos
| From: | Frank M. Kromann | Date: | Fri, 12 Jan 2007 22:01:17 +0000 |
| Subject: | Re: Problem with PHP 4.4.4 and MSSQL in Centos | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-42947@lists.php.net to get a copy of this message | ||
Hi Claudio,
bugs.php.net would be the place to report the bug. As both the MSSQL and
Sybase extensions are using the same FreeTDS library I would think the bug
is in the Sybase extension.
You will get more mssql_* functions with the MSSQL extension, and much
better support for storred procedures so I think you will be happy about
the change.
- Frank
> Hi Frank,
>
> El vie, 12-01-2007 a las 10:49 -0800, Frank M. Kromann escribió:
>
> > 1) Check the version of FreeTDS on both systems.
>
> It proved irrelevant. See above.
>
> > 2) Check the freetds.conf file for differences (use the sam TDS
version)
>
> No differences.
>
> > 3) Check that php is compiled using --with-mssql on both systems
> > (--with-sybase will give you aliases to some mssql_( functions but
not
> > all)
>
> I fixed it by compiling again php with --with-mssql instead of
> --with-sybase. Now it works perfectly. Thanks for your suggestions.
>
> Anyway, I wouldn't expect php to hang and kill my server if compiled
> with --sybase. Maybe just a runtime error would be ok, but a hang like
> that, it's a bug to me.
>
> I would gladly report it, if I knew where should I. Do you think it may
> be in freeTDS or PHP itself? I am not really into PHP internals.
>
> Best regards,
>
> Claudio
>
> --
> Claudio Saavedra <claudio.saavedra@exceed.cl>
>
> ---------------------------------------------------------------------
> La informacion contenida en esta transmision (y sus documentos
> adjuntos), es confidencial y no puede ser usada o difundida por
> personas distintas a su(s) destinatario(s).
> El uso no autorizado de la informacion contenida en
> esta transmision puede ser sancionado criminalmente de conformidad con
> la ley chilena. Si ha recibido esta transmision por error, por favor
> destruyala y notifique al remitente. Atendido que no existe
> certidumbre que el presente mensaje no sera modificado como resultado
> de su transmision por correo electronico, nuestra empresa, no sera
> responsable si el contenido del mismo ha sido modificado".
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>