Php pdo mssql error could not find driver

This shows that I have forgotten to add MySQL PDO while compiling PHP in LiteSpeed. This can be easily ammended adding the following option: If your having problems re-compiling PHP with PDO as shared module try this.--enable-pdo=shared--with-pdo-mysql=shared,/usr/local/mysql--with-sqlite=shared Writing MySQL Scripts with PHP and PDO. Paul DuBois paul@kitebird.com. Document revision: 1.02 Last update: 2013-08-11 Table of Contents Preliminary Requirements I have just installed Debian Lenny with Apache, MySQL, and PHP and I am receiving a PDOException could not find driver. This is the specific line of code it is. I just tried with PHP 5.2, and that constant seems to exists : var_dump(PDO::MYSQL_ATTR_INIT_COMMAND); Gives me : int 1002 But it seems there is a bug in PHP 5.3. Last week I introduced PDO, a database abstraction layer that you can use in your applications to allow for future flexibility in your database choice and protect you. If your having problems re-compiling PHP with PDO as shared module try this.--enable-pdo=shared--with-pdo-mysql=shared,/usr/local/mysql--with-sqlite=shared Accessing Microsoft SQL Server (mssql) from PHP under Apache on Unix or Linux Thanks for your help! I run your code but didn’t get back @total. What is wrong??? I created SP and pass your code to php and I can not get value of OUT parameter. As you can see from the results above, mysql could not get the recordset returned by the stored procedure while mysqli and PDO could. After some more research, some.


php pdo mssql error could not find driver