0% found this document useful (0 votes)
221 views

Xampp With Oracle

Quick guide how to integrate XAMPP with PHP 7.3 or later with Oracle 11g with this idea you I think you can integrate later version of oracle, in this guide I am using windows 10 (64 bit)

Uploaded by

mahedi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
221 views

Xampp With Oracle

Quick guide how to integrate XAMPP with PHP 7.3 or later with Oracle 11g with this idea you I think you can integrate later version of oracle, in this guide I am using windows 10 (64 bit)

Uploaded by

mahedi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Oracle 11G integration with Xampp (PHP 7.

3)

To integrate XAMPP with PHP 7.3 or later with Oracle 11g using windows 10 (64 bit) you need to follow
steps.

Steps:
 Xampp (php 7.3.*): https://www.apachefriends.org/download.html

 Oracle 11g Client (32 bit): https://www.oracle.com/technetwork/database/enterprise-


edition/downloads/112010-win32soft-098987.html
 Oracle Instant Client 11 or 12.2 (32 bit) – Support Oracle 11g:
https://www.oracle.com/technetwork/database/database-technologies/instant-
client/downloads/index.html

 PHP OCI 2.2: https://pecl.php.net/package/oci8


How to do it:
 Install XAMPP, Open XAMPP Control Panel and Start the Apache
 Visit http://localhost/dashboard/phpinfo.php via your browser to see the thread safety mode of
the installed PHP.
 Now that we know Thread Safety is enabled we need to download OCI 2.2 with TS (Thread
Safety)
 Extract the file (php_oci8-2.2.0-7.3-ts-vc15-x86.zip) and you should find php_oci8_11g.dll move
it to the directory of xampp/php/ext

 Extract the Oracle Instant Client 12.2 (instantclient-basic-nt-12.2.0.1.0.zip) inside your Oracle
Client location
 Add the directory of instantClient_12_2 into environment variable under System Variable
 Edit php.ini from XAMPP Control Panel

 Add extension=php_oci8_11g.dll into php.ini


 Now restart the Apache and try to open phpinfo again, you should find OCI8 active there

You might also like