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認證
      關鍵字:中聯科創,長治網站建設,長治網站推廣,長治網絡工程,長治軟件開發,山西網站建設,山西軟件開發 長治五金網

                  

      主站蜘蛛池模板: 亚洲videos| 亚洲黄色片在线观看| 亚洲国产91在线| 先锋影音资源片午夜在线观看视频免费播放 | 在线亚洲v日韩v| 韩国亚洲伊人久久综合影院| 无码国产精品一区二区免费I6| 精品日韩亚洲AV无码| 最近新韩国日本免费观看| 亚洲国产天堂在线观看| 日韩免费在线视频| 久久精品国产亚洲AV无码麻豆| 91精品国产免费| 亚洲福利秒拍一区二区| 我的小后妈韩剧在线看免费高清版| 久久久久亚洲AV无码麻豆| 亚洲一级毛片视频| 我要看WWW免费看插插视频| 日本最新免费不卡二区在线| 亚洲精品无码中文久久字幕| 午夜成年女人毛片免费观看| 亚洲精品中文字幕| 亚洲?v女人的天堂在线观看| 一本一道dvd在线观看免费视频| 亚洲免费一区二区| 久久免费区一区二区三波多野| 91亚洲精品第一综合不卡播放| 无码日韩精品一区二区免费| 色天使色婷婷在线影院亚洲| 久久久久亚洲?V成人无码| 五月天网站亚洲小说| 国产一卡二卡四卡免费| 四虎免费久久影院| 成全视频免费观看在线看| 亚洲国产成人综合| 国产网站免费观看| a级毛片黄免费a级毛片| 亚洲人成影院在线高清| 亚洲欧洲日本在线| 最近免费2019中文字幕大全| 午夜亚洲国产理论片二级港台二级 |