简体   繁体   中英

php_oci8.dll not registered on xampp

I am so confused about this php_oci8.dll library.

I already set PATH varible. I am sure that php_oci8.dll already exist in the xampp/php/ext folder. I am sure that i already uncomment extension=php_oci8.dll.

The problem is: 1. When i access the phpinfo() i dont see any oci8 loaded BUT, when i run with cmd command php --ri oci8 , it say enabled

在此处输入图片说明

  1. I cant use any php function to connect to oracle database such oci_connect()

在此处输入图片说明

Got it already. Turns out that i need to uncomment 2 php.ini files.

  1. C:/xampp/php/php.ini
  2. C:/xampp/apache/bin/php.ini

Uncomment the "extension=php_oci8.dll" on the both files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM