Homebrew PHP 5.6 With Oracle PDO_OCI 8

I follow this instruction https://gist.github.com/gido/5237100 but with some small modifications:

I use oracle instant client version 12.1.0.2 on El Capitan:

sudo mkdir /usr/local/instantclient
sudo mkdir /usr/local/instantclient/12.1.0.2

All downloaded zip files extracted to /usr/local/instantclient/12.1.0.2

Then the symlinks:

sudo ln -s /usr/local/instantclient/12.1.0.2/sdk/include/*.h /usr/local/include/
sudo ln -s /usr/local/instantclient/12.1.0.2/sqlplus /usr/local/bin/
sudo ln -s /usr/local/instantclient/12.1.0.2/*.dylib /usr/local/lib/
sudo ln -s /usr/local/instantclient/12.1.0.2/*.dylib.12.1 /usr/local/lib/
sudo ln -s /usr/local/lib/libclntsh.dylib.12.1 /usr/local/lib/libclntsh.dylib

Make sure pecl is installed/enabled, if not then:

sudo php /usr/lib/php/install-pear-nozlib.phar -d /usr/local/lib/php -b /usr/local/bin

Build the php oci8 extension:

sudo pecl install -f oci8-2.0.11

If you are prompted to input the ORACLE_HOME path, input with instantclient,/usr/local/lib.

Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] :
instantclient,/usr/local/lib/

Add the extensions to be loaded. Create new file:

vim /usr/local/etc/php/5.6/conf.d/ext-oci8.ini

With this content:

extension="/usr/local/Cellar/php56/5.6.30_6/lib/php/extensions/no-debug-non-zts-20131226/oci8.so"

Restart Apache

sudo apachectl restart

Test it