You are on page 1of 1

//2ND - INSTALL XAMPP

1. In your XAMPP Start Page, go to phpinfo, look for string oci8. If string foun
d it indicate that connection to oracle is available,
otherwise to activate connection do the following steps:
2. Open the currently used php.ini file by looking at the phpinfo, from the XAMP
P folder.
3. Find string ;extension=php_oci8.dll. Remove the semicolon (;) ahead of the st
ring to activate the oracle extension.
4. Save the php.ini file.
//1ST
5. Download the Instant Client Package
Basic for Windows from the OTN Instant Clie
nt page. Unzip it to c:\instantclient_11_1
6. Edit the PATH environment setting and add c:\instantclient_11_1 before any ot
her Oracle directories. For example, on Windows XP,
follow Start -> Control Panel -> System -> Advanced -> Environment Variables an
d edit PATH in the System variables list.
7. Set desired Oracle globalization language environment variables such as NLS_L
ANG. If nothing is set, a default local environment will be assumed.
See An Overview on Globalizing Oracle PHP Applications for more details.
8. Unset Oracle variables such as ORACLE_HOME and ORACLE_SID, which are unnecess
ary with Instant Client (if they are set previously).
//3RD
9. Restart XAMPP (or Start if its not already started).
10. To make sure that connection to oracle database has successfully activated,
go to phpinfo. Find string: oci8. If found,
then XAMPP can now communicate with Oracle Database.

You might also like