pdo - PHP 5.5, how to enabled odbc_connect()? -



pdo - PHP 5.5, how to enabled odbc_connect()? -

i'm using php 5.5.6 on redhat6.

when run next php scrip call undefined function odbc_connect()error.

$u = 'smthg'; $p = 'smthgelse'; $conn = odbc_connect('mssql-php', $u, $p , sql_cur_use_driver) ;

i configured odbc.ini file following:

[mssql-php] driver = sql server native client 11.0 server = 10.33.37.2 database = mydbname

i seek connect server pdo class 'pdo' not found error.

i thought both odbc , pdo extension included in php5.5, , there no extension add together php.ini file. php -r 'phpinfo();' | grep odbc or same pdo give me nothing.

what did miss?

php pdo odbc redhat

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -