Skip to content

Instantly share code, notes, and snippets.

@alfarioekaputra
Last active August 7, 2018 04:39
Show Gist options
  • Save alfarioekaputra/dca677429a0f8e125d6f5666c0a490eb to your computer and use it in GitHub Desktop.
Save alfarioekaputra/dca677429a0f8e125d6f5666c0a490eb to your computer and use it in GitHub Desktop.
Install pdo oci in php7

Install PDO_OCI

Download this source of php http://us1.php.net/get/php-7.0.27.tar.bz2/from/a/mirror copy pdo_oci into tmp $ sudo cp -r php-7.0.27/ext/pdo_oci /tmp $ sudo cd /tmp/pdo_oci run next command: enter code here $ sudo phpize $ sudo make $ sudo make install Finall, create and link files $ sudo touch /etc/php/7.0/mods-available/pdo_oci.ini $sudo echo extension=pdo_oci.so' > /etc/php/7.0/mods-available/pdo_oci.ini

credit : https://stackoverflow.com/a/48693165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment