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


  • administrators
    | 123538 points

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

    1. Download Oracle Instant Client Zip file:
      http://www.oracle.com/technetwork/topics/winx64soft-089540.html

    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()
    0_1503049983969_laragon-oracle.png


  • | 59 points

    To get this working with the latest Laragon & PHP I had to download instant client version 12 and place the DLLs in the Laragon root folder (alongside laragon.exe). Placing them in the php directory or apache bin directory did not work.


Log in to reply
 

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