OCI8 in PHP 7.0 with Xampp 32bit

1

I'm using xampp on windows 7, PHP version is at 7.0.15. I installed the Oracle Instant Client (32bits tbm) and then extracted into the "ext" folder of php version 2.1.3 of OCI8 according to this site ( link ). The problem is that after doing the whole process, in phpinfo () does not display the OCI8 section, so it is not actually connected / installed. Thank you very much in advance!

As in php.ini: extension = php_oci8_12c.dll; Use with Oracle Database 12c Instant Client

Message when I put the command "php -m":

    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8_12c.dll' - NÒo foi possÝvel encontrar o m¾dulo especificado.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8_12c.dll' - NÒo foi possÝvel encontrar o m¾dulo especificado.
 in Unknown on line 0
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]

    
asked by anonymous 08.03.2017 / 18:51

1 answer

2

Your problem is related to ABI used in compiling the DLL. It is quite likely that the DLL provided in the PECL is incorrect.

Download the correct DLL for your php version here .

    
15.03.2017 / 17:20