PDO_mssql

Hi dose anyone know what i need to do to get the php extension PDO_mssql

many thanks

calvin

Where? What?

Do you mean on openSUSE? When yes, on which version of openSUSE>

Problem sescriptions/Questions of about half a line’s lenth are seldom adequate to give anybody an idea about what you have, what you want to achieve and what you found out and tried until now to get what you want. We are not clairvoyant.

I am using opensuse 13.1 with php 5.4.20 and trying to get laravel to connect to microsoft server sql database which uses PDO and i want the PDO_msssql module…

my php -m =

[PHP Modules]
bz2
Core
ctype
date
dom
ereg
filter
gd
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mssql
mysql
mysqli
mysqlnd
odbc
openssl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_sqlite
Phar
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib

but no PDO_mssql

sorry for vauge first post… :slight_smile: (and you where correct to slap me)…

any other info i can get as requested…

Not sure but here is an older thread that may or may not help at least until someone with direct knowledge shows up

https://forums.opensuse.org/showthread.php/459621-mssql-support-php

According to php.net, pdo_mssql doesn’t exist.
http://us2.php.net/manual-lookup.php?pattern=pdo-mssql&lang=en&scope=404quickref

I’m pretty sure you want the equivalent of “pdo for mssql” which is likely “mssql_connect”
http://php.net/manual/en/function.mssql-connect.php

You will need to install

zypper in php5-mssql

TSU