I have a particular problem with OCI8 running on my server setup.
First setup:
- Win 2008 Server 32bit
- ZendServer for PHP with Apache2.2
- PHP version 5.3.14 which did not contain php_oci8 files
- No oracles installed.
I need to be able to connect to the remote oracle database, so I find out that I should use the OCI8 extension. To work in OCI8, I also need at least Oracle Instant Client on the server, due to the need for the OCI8 DLL.
What I've done?
- downloaded Oracle Instant Client from its sites ( oracle download site ), version 11.2.0.4.0
- Unpacked to a folder, I selected Program Files / oci_11_2
- added to the Windows variable path address
- restarted Win
- php_oci8 PECL (PECL oci8 dl site)
- ext, php.ini
- = php_oci8.dll php.ini
- apache
php_info, , , oci8.
Oracle , swtiching php_oci8.dll, php_oci8_11g.dll php_oci8_12c.dll, .
, - php_info , Windows.
php :
[30-May-2014 08:02:16 UTC] PHP : PHP: 'C:\Program Files\Zend\ZendServer\lib\phpext\php_oci8_11g.dll' - . Unknown 0
, , php ( - ), Oracle differpct php_oci8. google , Stack, , , . - - ?