Thursday, March 9, 2017

How to install PDO_DBLIB

I'm trying to install pdo_dblib to connect laravel with a sql server database but i'm giving the error:

$ pecl install PDO_DBLIB
downloading PDO_DBLIB-1.0.tgz ...
Starting to download PDO_DBLIB-1.0.tgz (8,184 bytes)
.....done: 8,184 bytes
6 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/Applications/MAMP/bin/php/php5.6.28/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed

I doing the next steps:

Download the php version 5.6.28, go to ext/pdo_dblib and do ./configure, make and pecl install PDO_DBLIB but give me this error.

I need to install this extension in mamp, how can i do that?

Thank you



via user3242861

Advertisement