- XAMPP
- Oracle 10g XE or later
- Oracle Instance Client for 10g or later
-
Install all the software mentioned in the #Requirements section.
-
Copy and paste the
oracle
(which I have provided in this repository) folder to theC:\
drive. -
Set the environment variable
C:\oracle\instantclient_10_2\
-
Now open this
C:\xampp\php\php.ini
file and enableextension=pdo_oci
by removing;
.Example:
;extension=pdo_oci
toextension=pdo_oci
-
Start the XAMPP software and run the Apache server.
-
I have also provided a
test.php
file. Please copy it into thisC:\xampp\htdocs\
folder. -
Open it in your text editor and change your
$db_password
, which were provided by you during the Oracle database installation. -
For testing, in your browser, go to this URL:
https://localhost/test.php
. this will show you all the users on the oracle database.