Skip to content

Commit

Permalink
Fix freetds configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
derschatta committed Sep 2, 2020
1 parent 3b17509 commit 17b6c08
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 92 deletions.
25 changes: 3 additions & 22 deletions php/php53/config/freetds.conf
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
#
# This file is installed by FreeTDS if no file by the same
# name is found in the installation directory.
#
# For information about the layout of this file and its settings,
# see the freetds.conf manpage "man freetds.conf".

# Global settings are overridden by those in a database
# server specific section
[global]
# TDS protocol version
; tds version = 4.2
tds version = 8.0

# Whether to write a TDSDUMP file for diagnostic purposes
Expand All @@ -28,14 +16,7 @@
text size = 20971520
text limit = 20971520

# A typical Sybase server
[egServer50]
host = symachine.domain.com
port = 5000
tds version = 5.0

# A typical Microsoft server
[egServer70]
host = ntmachine.domain.com
port = 1433
tds version = 7.0
client charset = UTF-8

use utf-16 = yes
6 changes: 5 additions & 1 deletion php/php53/config/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ memory_limit=256M
max_execution_time=120
; relax file upload limits
post_max_size = 64M
upload_max_filesize = 64M
upload_max_filesize = 64M

[MSSQL]
mssql.textlimit = 20971520
mssql.textsize = 20971520
25 changes: 3 additions & 22 deletions php/php54/config/freetds.conf
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
#
# This file is installed by FreeTDS if no file by the same
# name is found in the installation directory.
#
# For information about the layout of this file and its settings,
# see the freetds.conf manpage "man freetds.conf".

# Global settings are overridden by those in a database
# server specific section
[global]
# TDS protocol version
; tds version = 4.2
tds version = 8.0

# Whether to write a TDSDUMP file for diagnostic purposes
Expand All @@ -28,14 +16,7 @@
text size = 20971520
text limit = 20971520

# A typical Sybase server
[egServer50]
host = symachine.domain.com
port = 5000
tds version = 5.0

# A typical Microsoft server
[egServer70]
host = ntmachine.domain.com
port = 1433
tds version = 7.0
client charset = UTF-8

use utf-16 = yes
6 changes: 5 additions & 1 deletion php/php54/config/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ memory_limit=256M
max_execution_time=120
; relax file upload limits
post_max_size = 64M
upload_max_filesize = 64M
upload_max_filesize = 64M

[MSSQL]
mssql.textlimit = 20971520
mssql.textsize = 20971520
25 changes: 3 additions & 22 deletions php/php55/config/freetds.conf
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
#
# This file is installed by FreeTDS if no file by the same
# name is found in the installation directory.
#
# For information about the layout of this file and its settings,
# see the freetds.conf manpage "man freetds.conf".

# Global settings are overridden by those in a database
# server specific section
[global]
# TDS protocol version
; tds version = 4.2
tds version = 8.0

# Whether to write a TDSDUMP file for diagnostic purposes
Expand All @@ -28,14 +16,7 @@
text size = 20971520
text limit = 20971520

# A typical Sybase server
[egServer50]
host = symachine.domain.com
port = 5000
tds version = 5.0

# A typical Microsoft server
[egServer70]
host = ntmachine.domain.com
port = 1433
tds version = 7.0
client charset = UTF-8

use utf-16 = yes
6 changes: 5 additions & 1 deletion php/php55/config/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ opcache.enable=1
max_execution_time=120
; relax file upload limits
post_max_size = 64M
upload_max_filesize = 64M
upload_max_filesize = 64M

[MSSQL]
mssql.textlimit = 20971520
mssql.textsize = 20971520
25 changes: 3 additions & 22 deletions php/php56/config/freetds.conf
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
#
# This file is installed by FreeTDS if no file by the same
# name is found in the installation directory.
#
# For information about the layout of this file and its settings,
# see the freetds.conf manpage "man freetds.conf".

# Global settings are overridden by those in a database
# server specific section
[global]
# TDS protocol version
; tds version = 4.2
tds version = 8.0

# Whether to write a TDSDUMP file for diagnostic purposes
Expand All @@ -28,14 +16,7 @@
text size = 20971520
text limit = 20971520

# A typical Sybase server
[egServer50]
host = symachine.domain.com
port = 5000
tds version = 5.0

# A typical Microsoft server
[egServer70]
host = ntmachine.domain.com
port = 1433
tds version = 7.0
client charset = UTF-8

use utf-16 = yes
6 changes: 5 additions & 1 deletion php/php56/config/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ memory_limit=256M
max_execution_time=120
; relax file upload limits
post_max_size = 64M
upload_max_filesize = 64M
upload_max_filesize = 64M

[MSSQL]
mssql.textlimit = 20971520
mssql.textsize = 20971520

0 comments on commit 17b6c08

Please sign in to comment.