How to enable oci in xampp 5.6.3?

前端 未结 4 1617
滥情空心
滥情空心 2021-01-05 16:18

I am facing some issue while starting Apache server via XAMPP. I have installed XAMPP Version 5.6.3.

When I start the Apache server from xampp control panel, an erro

4条回答
  •  花落未央
    2021-01-05 16:40

    I solved the issue after stuck 2-3 days .

    Before follow steps Some things to remmember . 1- I am using win 8.1 64 bit . 2- Using Xampp 5.6.31 32 bit . 3- Using instaclient 12.2.0.1 64 bit (Because my win 8.1 is 64 Bit ) .

    Now steps are below -

    Step 1 - Download xampp 5.6.31 32 bit and install it .

    Step 2 - Download and install oracle 11g R2

    Step 3 - Download and install OTN (oracle instaclient 12.2.0.1 )

    • Extract all files in any drive in my case i have extract in C:\oracle\instaclient12.2.0.1
    • Add (C:\oracle\instaclient12.2.0.1 ) it to the path variables of the system. and also add new variable under variable of system with name TNS_ADMIN and put same path (C:\oracle\instaclient12.2.0.1 ) in its value .
    • Its time to set PHP.INI here uncomment following (see image below) PHP.ini setup
    • Copy 3 files from C:\oracle\instaclient12.2.0.1 oci.dll,oraociei12.dll and oraons.dll to xampp apache\bin . by this step Unable to load dynamic library issue has been resolved . Unable to load dynamic library issue solution
    • Now restart Apache on xampp and check info.php on browser . OCI8 module will appear there enable .

    Enjoy !!!.

提交回复
热议问题