System requirement:
- VC9
- XAMPP 1.8.1
- Oracle XE 11G R2
I assumed those requirement already install.
NOTE:
XAMPP 1.8.1 is 32 bits application, therefor, it needs Oracle Instance
XAMPP 1.8.1 is 32 bits application, therefor, it needs Oracle Instance
Here is steps to configure XAMPP 1.8.1 & Oracle XE 11G x64 work in the same PC:
- Download instant client and SDK use this link: http://www.oracle.com/technetwork/topics/winsoft-085727.html
- oracle instant client instantclient-basic-nt-11.2.0.4.0.zip
- oracle SDK instantclient-sdk-nt-11.2.0.4.0.zip
- Extract into C:\instantclient_11_2
- oracle instant client instantclient-basic-nt-11.2.0.4.0.zip
- oracle SDK instantclient-sdk-nt-11.2.0.4.0.zip
- set and or add into path
C:\instantclient_11_2;C:\oraclexe\app\oracle\product\11.2.0\server\bin;
Note: DO NOT put C:\instantclient_11_2 after C:\oraclexe\app\oracle\product\11.2.0\server\bin; - Edit php.ini, unset
;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
Note: only 1 dll can be activated, for Express edition use extension=php_oci8_11g.dll - Restart apache
No comments:
Post a Comment