ID: 26791 Updated by: [EMAIL PROTECTED] Reported By: danielc at analysisandsolutions dot com Status: Open Bug Type: MSSQL related Operating System: Windows 2000 PHP Version: 4.3.4 New Comment:
This seams to be related to how the extension is loaded. ini_set() works fine in php4 whn the extension is loaded from php.ini, but not when dl() is used. The dl() will also cause the output from phpinfo() to be incomplete! Previous Comments: ------------------------------------------------------------------------ [2004-01-06 18:56:04] [EMAIL PROTECTED] Frank, nothing has changed in that function. Are you sure this really works with PHP 5..? ------------------------------------------------------------------------ [2004-01-05 02:44:12] [EMAIL PROTECTED] This works in PHP5 but not in PHP4.3.x (tested on the cvs version). Did something happen to the ini_set() funtion ? ------------------------------------------------------------------------ [2004-01-05 01:34:58] danielc at analysisandsolutions dot com Description: ------------ The mssql.textlimit and mssql.textsize configuration options can't be set via ini_set(). Changing them in php.ini works. This is also the case in a recent PHP 5 snapshot (500rc1-dev--php5-win32-200401022330). This is the same issue as bug 20797 which was closed due to no feedback. SCRIPT CAN CHANGE LIMIT ======================= php.ini mssql.textlimit = 2147483647 mssql.textsize = 2147483647 script SET TEXTSIZE 20 SCRIPT CAN'T CHANGE LIMIT ========================= php.ini mssql.textlimit = 20 mssql.textsize = 20 script ini_set('mssql.textlimit', 2147483647); ini_set('mssql.textsize', 2147483647); ------------------------------------ php.ini mssql.textlimit = 2147483647 mssql.textsize = 2147483647 script ini_set('mssql.textlimit', 20); ini_set('mssql.textsize', 20); ------------------------------------ php.ini ; mssql.textlimit = 2147483647 ; mssql.textsize = 2147483647 script SET TEXTSIZE 2147483647 ------------------------------------ php.ini mssql.textlimit = 20 mssql.textsize = 20 script SET TEXTSIZE 2147483647 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26791&edit=1