downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Ressource-Typen> <Installation
Last updated: Fri, 30 Oct 2009

view this page in

Laufzeit-Konfiguration

Das Verhalten dieser Funktionen wird durch Einstellungen in der php.ini beeinflusst.

MS SQL Server Konfigurationsoptionen
Bezeichnung Grundeinstellung Änderbar Changelog
mssql.allow_persistent "1" PHP_INI_SYSTEM  
mssql.max_persistent "-1" PHP_INI_SYSTEM  
mssql.max_links "-1" PHP_INI_SYSTEM  
mssql.min_error_severity "10" PHP_INI_ALL  
mssql.min_message_severity "10" PHP_INI_ALL  
mssql.compatability_mode "0" PHP_INI_ALL  
mssql.connect_timeout "5" PHP_INI_ALL  
mssql.timeout "60" PHP_INI_ALL Seit PHP 4.1.0 verfügbar.
mssql.textsize "-1" PHP_INI_ALL  
mssql.textlimit "-1" PHP_INI_ALL  
mssql.batchsize "0" PHP_INI_ALL Seit PHP 4.0.4 verfügbar.
mssql.datetimeconvert "1" PHP_INI_ALL Seit PHP 4.2.0 verfügbar.
mssql.secure_connection "0" PHP_INI_SYSTEM Seit PHP 4.3.0 verfügbar.
mssql.max_procs "-1" PHP_INI_ALL Seit PHP 4.3.0 verfügbar.
mssql.charset "" PHP_INI_ALL Seit PHP 5.1.2 verfügbar, wenn es mit FreeTDS 7.0 oder höher übersetzt wurde.

Weitere Details und die Definitionen der PHP_INI_*-Konstanten finden Sie im php.ini Einstellungen.



Ressource-Typen> <Installation
Last updated: Fri, 30 Oct 2009
 
add a note add a note User Contributed Notes
Laufzeit-Konfiguration
jakub dot otrzasek at marol dot com dot pl
10-Jul-2009 12:03
mssql.charset      ""      PHP_INI_ALL
this setting is case sensitive, it can provide problms with connection to DB.

 ini_set('mssql.charset', 'utf-8');
this setting this allowed me to connect.

 ini_set('mssql.charset', 'UTF-8');
that one is ok.

regards!
ed at x-space dot net
31-Jan-2009 03:13
Take care about mssql.max_procs = '-1'. It doesn't mean unlimited procs.

With the default driver, it's mean 25 procs.

See php.ini for more information.

If you're application is stress, mssql_connect may failed without adjustment.
valli at icsurselva dot ch
04-Sep-2008 10:28
There also exists a configuration option called 'mssql.charset'.
It will override the 'client charset' setting in freetds.conf.
AFAIK this will only take effect if the 'tds version' setting
in freetds.conf is >=7.0

Ressource-Typen> <Installation
Last updated: Fri, 30 Oct 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites