[Tutorial] How to install PHP's Oracle OCI extension

  • administrators
    | 115877 points

    Install Oracle Extention is easy if you follow these below steps (works with both Apache & Nginx):

    1. Download Oracle Instant Client Zip file:

    Note: You must accept the "Accept License Agreement" and "create an account (Free)"

    1. Extract:
      Extract all the dll in the downloaded zip file to PHP dir (Menu > PHP > Version > dir:php-xxx-xxx)

    2. Enable:
      Just click Menu > PHP > Extensions > php_oci8_12c.dll

    3. Restart Apache.

    That's all forks.

    You should see Oracle OCI information on phpinfo()

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.