To enable Sybase-DB support configure PHP
--with-sybase[=DIR]. DIR is the
Sybase home directory, defaults to /home/sybase.
To enable Sybase-CT support configure PHP
--with-sybase-ct[=DIR]. DIR is the
Sybase home directory, defaults to /home/sybase.
Compatibility mode with old versions of PHP 3.0. If on, this will cause
PHP to automatically assign types to results according to their Sybase
type, instead of treating them all as strings. This compatibility mode
will probably not stay around forever, so try applying whatever
necessary changes to your code, and turn it off.
If magic_quotes_sybase is on, a
single-quote is escaped with a single-quote instead of a
backslash if magic_quotes_gpc
or magic_quotes_runtime
are enabled.
Note:
Note that when magic_quotes_sybase
is ON it completely overrides magic_quotes_gpc
. In this case even when
magic_quotes_gpc is enabled
neither double quotes, backslashes or NUL's
will be escaped.
Table 2. Sybase-CT configuration options
Name
Default
Changeable
Changelog
sybct.allow_persistent
"1"
PHP_INI_SYSTEM
Available since PHP 4.0.4.
sybct.max_persistent
"-1"
PHP_INI_SYSTEM
Available since PHP 4.0.4.
sybct.max_links
"-1"
PHP_INI_SYSTEM
Available since PHP 4.0.4.
sybct.min_server_severity
"10"
PHP_INI_ALL
Available since PHP 4.0.4.
sybct.min_client_severity
"10"
PHP_INI_ALL
Available since PHP 4.0.4.
sybct.hostname
NULL
PHP_INI_ALL
Available since PHP 4.0.4.
sybct.deadlock_retry_count
"0"
PHP_INI_ALL
Available since PHP 4.3.0.
Here's a short explanation of
the configuration directives.
Server messages with severity greater than or equal to
sybct.min_server_severity will be reported as warnings. This
value can also be set from a script by calling
sybase_min_server_severity(). The default
is 10 which reports errors of information severity or greater.
Client library messages with severity greater than or equal to
sybct.min_client_severity will be reported as warnings. This
value can also be set from a script by calling
sybase_min_client_severity(). The default
is 10 which effectively disables reporting.
The maximum time in seconds to wait for a connection attempt
to succeed before returning failure. Note that if
max_execution_time has been exceeded when a connection attempt
times out, your script will be terminated before it can take
action on failure. The default is one minute.
The maximum time in seconds to wait for a select_db or query
operation to succeed before returning failure. Note that if
max_execution_time has been exceeded when an operation times
out, your script will be terminated before it can take action
on failure. The default is no limit.
ref.sybase php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php ref.sybase syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.