Re: Problem with PHP 4.4.4 and MSSQL in Centos
| From: | Claudio Saavedra | Date: | Fri, 12 Jan 2007 20:22:37 +0000 |
| Subject: | Re: Problem with PHP 4.4.4 and MSSQL in Centos | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42941@lists.php.net to get a copy of this message | ||
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".