PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Re: [PHP] PHP and SQL Server
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: [PHP] PHP and SQL Server

Réponse
 
LinkBack Outils de la discussion
Vieux 13/10/2008, 15h42   #1
Andrew Ballard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHP and SQL Server

On Tue, Sep 23, 2008 at 10:17 AM, Jason <networkadmin@emarket2.com> wrote:
> At 15:05 23/09/2008, you wrote:
>
> [snip]
>
>> So, I'm left wondering what that leaves. Is there anything currently
>> available that could be considered stable for a production
>> environment, supports parameterized queries and is not slated to be
>> mothballed in the near future?

>
> Have you considered the MS "official" php extension available from
> http://www.microsoft.com/sql/technol...p/default.mspx ?
>
> We've played with it here and it seems quite good. It requires SQL 2005 or
> above, so it may not be good for you. YMMV.
>
> I have to admit we've yet to seriously load-test it, but at least we finally
> have Unicode support from PHP to MSSQL.
>
> HTH
> J


I know it's been a while since I started this thread, but I wanted to
say thanks for the suggestion and post an update for the archives. I
downloaded the Sqlsrv library from Microsoft. It required us to
install the SQL Native Client (ODBC driver for SQL 2005), but it
connects just fine to our SQL 2K database. We put it into production
on this site a couple weeks ago when the site was crashing routinely
using both PDO_MSSQL and PDO_ODBC due to a (possibly misconfigured?)
spider that was hitting (I should say hammering) our site. Since
switching, the site has not crashed once. The Microsoft extension also
implements connection pooling internally which is cool.


Andrew
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h56.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,06587 seconds with 9 queries