如何为MAMP php编译PDO_OCI扩展(不想编译php)

I have tried PCEL and it can't finish the compile process. So I have to install it manually and this is how I have tried:

  1. I download and put PDO (PDO_OCI-1.0) and navigate to the main folder

    cd /Users/ramind/Documents/Software/PDO_OCI-1.0/PDO_OCI-1.0

  2. phpize and got response: Configuring for: PHP Api Version: 20160303 Zend Module Api No: 20160303 Zend Extension Api No: 320160303

I have tried:

./configure --with-pdo-oci=instantclient,/Applications/MAMP/Library/oracle/instantclient_12_1,12.1

and

./configure --with-pdo-oci=instantclient,/Applications/MAMP/Library/oracle/instantclient_12_1/sdk/include,12.1

And getting this error:

checking for oci.h ... configure: error: I'm too dumb to figure out where the include dir is in your instant client install

Appreciate any help to knows how can I patch this PDO_OCI configure to compile it for PHP 5.6.37