Code: Select all
[root@localhost]# php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dba
dom
exif
ftp
gd
gettext
gmp
hash
iconv
imap
ldap
libxml
mbstring
mime_magic
mysql
mysqli
ncurses
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pgsql
posix
pspell
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
standard
sybase_ct <-- HERE IT IS
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zlibCode: Select all
Array
(
[0] => libxml
[1] => xml
[2] => wddx
[3] => tokenizer
[4] => sysvshm
[5] => sysvsem
[6] => sysvmsg
[7] => standard
[8] => SimpleXML
[9] => sockets
[10] => SPL
[11] => shmop
[12] => session
[13] => Reflection
[14] => pspell
[15] => posix
[16] => mime_magic
[17] => iconv
[18] => hash
[19] => gmp
[20] => gettext
[21] => ftp
[22] => exif
[23] => date
[24] => curl
[25] => ctype
[26] => calendar
[27] => bz2
[28] => zlib
[29] => pcre
[30] => openssl
[31] => apache2handler
[32] => bcmath
[33] => dba
[34] => dom
[35] => gd
[36] => imap
[37] => ldap
[38] => mbstring
[39] => mysqli
[40] => mysql
[41] => ncurses
[42] => odbc
[43] => PDO
[44] => pdo_mysql
[45] => PDO_ODBC
[46] => pdo_pgsql
[47] => pgsql
[48] => snmp
[49] => soap
[50] => xmlreader
[51] => xmlrpc
[52] => xmlwriter
[53] => xsl
)EDIT | Ok, I tried to enable the extension dynamically at runtime (using dl()) and I got this...
The weird thing is that I can connect at the CLI with no problems. Does anyone have any idea what this means?Warning: dl() [function.dl]: Unable to load dynamic library '/usr/lib/php/modules/sybase_ct.so' - libsybtcl.so: failed to map segment from shared object: Permission denied in /var/www/html/tests/sybase-test-proc.php on line 8