Steps On How To Connect To Oracle Database 11g by Using Xampp
Steps On How To Connect To Oracle Database 11g by Using Xampp
1. Please make sure that youve installed XAMPP with PHP5.2 and above (recommended using
XAMPP with PHP5.5 or PHP5.6). Otherwise, download it at
https://www.apachefriends.org/download.html
3. Find extension line. | ;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client |
(it might be at line 1008). Then, uncomment the extension by remove the semicolon before
the extension word.
4. Save and close the php.ini configuration file. Now, you may run your XAMPP Control Panel.
Start the Apache service.
6. Now, you can create a PHP page to test your Oracle 11g database connection. Below is a
sample of PHP code.
Filename: dbconn.php
<?php
?>