Tuesday, April 8, 2014

Re: sqlsrv and pdo_sqlsrv module mismatch only inside CAKEPHP

Please check that your extensions are compatible with the PHP version you are using. Also ensure that you are either using 64 bit all over or 32 bit, I do think the extensions from MS are 32 bit only.

Enjoy, John

On Monday, 7 April 2014 01:54:58 UTC+3, Comrade Raj wrote:
I have installed sqlsrv and pdo_sqlsrv extensions using SQLSRV30.EXE from Microsoft website. The bake command is failing with following php warnings:

PHP Warning:  PHP Startup: pdo_sqlsrv: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: sqlsrv: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0

I am not getting any warnings in PHP (outside cakephp)

Please help !

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: