Mengatatasi Warning: PHP Startup: Unable to load dynamic library ‘oci8’

XAMPP - Oracle Driver Setup (v12)
Membutuhkan Driver :
Visual C++ Redistributable for Visual Studio

Instlasi
  • untuk PHP (32-Bit) open: Instant Client Downloads for Microsoft Windows 32-bit
  • untuk PHP (x64, 64-Bit) open: Instant Client Downloads for Microsoft Windows (x64) 64-bit
  • Klik : “Accept License Agreement”
  • Download and unzip the ZIP file instantclient-basiclite-nt-12.2.0.1.0.zip
  • Copy all *.dll files: to c:\xampp\php
  • Copy all *.dll files to c:\xampp\apache\bin (We need a second copy here for apache)
  • Make sure that the file c:\xampp\php\ext\php_oci8_12c.dll exists.
  • Enable php extension in php.ini: extension=php_oci8_12c.dll (For PHP 7.2+ use extension=oci8_12c)
  • Restart Apache

Dapat juga coba download php_oci8 dll dilink berikut ini:

Leave a Reply