1. <span id="jt3xf"><optgroup id="jt3xf"></optgroup></span>

    1. <i id="jt3xf"><meter id="jt3xf"></meter></i>
      <label id="jt3xf"><meter id="jt3xf"></meter></label>
      <label id="jt3xf"><meter id="jt3xf"></meter></label><span id="jt3xf"><optgroup id="jt3xf"></optgroup></span>

      長治網站建設
      win7 64位系統下安裝php + Oracle 11g

      Introduction

      Now a day, many PHP applications have been developed keeping Oracle as database instead of MySQL and it’s a very common problem for those, using Oracle 11g in Windows 7 (64-bit) with PHP applications that the connection of Oracle database has been refused to connect. Here I have used Instant Client to connect Oracle database with my PHP application.

      Instead of using separate installation of PHP and Apache, I have used here WAMP server. Just follow the step-by-step to connect Oracle database with PHP applications on the platform of Windows 7 (64-bit).

      Step-by-Step

      STEP 1. Install WAMP server and Oracle 11g at first.

      STEP 2. For Windows 7 (64-bit), extract instantclient-basic-windows.x64-11.2.0.3.0.zip, downloaded fromhttp://www.oracle.com/technetwork/topics/winx64soft-089540.html toC:WindowsSysWOW64instantclient_11_2 and set it on PATH variable for Environment variable.

      STEP 3. Reboot the system now.

      STEP 4. Allow PHP extension from php.ini as

      extension=php_oci8_11g.dll (just remove the ";" from the start of the line)

      STEP 5. Restart WAMP server.

      STEP 6. Open the file to see the database name asD:appFarhanproduct11.2.0dbhome_1NETWORKADMINtnsnames.ora

       LISTENER_ORCL =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      
      
      ORACLR_CONNECTION_DATA =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          )
          (CONNECT_DATA =
            (SID = CLRExtProc)
            (PRESENTATION = RO)
          )
        )
      
      ORCL =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
          (CONNECT_DATA =
            (SERVER = DEDICATED)
            (SERVICE_NAME = orcl.168.1.2)
          )
        )

      Here, the service name is found as "orcl.168.1.2" .

      STEP 7. Make the connection in PHP script as oci_connect(your_username, your_password, "localhost/orcl.168.1.2");

      2006-2014 IT0355.com 山西中聯科創科技有限公司. All Rights Reserved.
      電話:0355-3728808 傳真:0355-3728808
      ICP備案號:晉ICP備06003721號本站已通過國際W3C認證
      關鍵字:中聯科創,長治網站建設,長治網站推廣,長治網絡工程,長治軟件開發,山西網站建設,山西軟件開發 長治五金網

                  

      主站蜘蛛池模板: 99爱在线精品免费观看| 免费一级肉体全黄毛片| 亚洲另类无码专区首页| 久久亚洲欧洲国产综合| 最近免费中文字幕高清大全 | 中文字幕视频在线免费观看| 亚洲精品中文字幕乱码| 国产成人精品免费视频大全五级| a毛片免费播放全部完整| 中文字幕亚洲情99在线| 亚洲码国产精品高潮在线| 青青草免费在线视频| 你懂得的在线观看免费视频| 亚洲精品456人成在线| 亚洲成AV人片在线观看无码| 日韩高清在线高清免费| 91禁漫免费进入| eeuss影院www天堂免费| 国内精品久久久久影院亚洲| 精品国产亚洲一区二区三区| 永久免费毛片手机版在线看| 免费A级毛片av无码| 一级毛片在线完整免费观看| 亚洲一本之道高清乱码| 亚洲av午夜成人片精品网站| 免费jjzz在在线播放国产| 五月亭亭免费高清在线| 中文字幕视频在线免费观看| 欧美亚洲国产SUV| 精品日韩99亚洲的在线发布| 久久亚洲国产午夜精品理论片| 免费国产真实迷j在线观看| 99爱在线精品免费观看| 午夜精品射精入后重之免费观看| 污视频网站在线观看免费| 亚洲一区欧洲一区| 亚洲视频在线免费看| 久久亚洲国产成人亚| 亚洲精品制服丝袜四区| 亚洲性日韩精品一区二区三区| 日韩免费观看一级毛片看看|