win7 wamp环境配置Oracle数据库连接_WIN2003服务器维护_黑客防线网安服务器维护基地--Powered by WWW.RONGSEN.COM.CN

win7 wamp环境配置Oracle数据库连接

作者:黑客防线网安Oracle维护基地 来源:黑客防线网安服务器基地 浏览次数:0

本篇关键词:win7wampOracle数据库
黑客防线网安网讯:最近开发需要使用的oracle数据库!翻看了PHP手册,也在网上找了些帖子!
功夫不负有心人,花费了四五个小时的时间,终于找到了Oracle的配置方法。
下面就讲解下如何配置Oracle数据库连接吧!

本人使用的开发环境是

最近开发需要使用的oracle数据库!翻看了PHP手册也在网上找了些帖子!
功夫不负有心人花费了四五个小时的时间,终于找到了Oracle的配置方法
下面就讲解下如何配置Oracle数据库连接吧!

本人使用的开发环境是Win7+wamp环境:
首先我们要扩展Oracle数据库连接,先去官网下载客户端连接库
地址:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

我这里就用最新的连接库instant Client for Microsoft Windows (32-bit)来做讲解吧!
这里下载客户端连接库,要先注册一个Oracle帐号(免费注册)!

1、下载好以后,我这里把下载包解压到D盘符,路径为D:\PLSQL\instantclient_11_2。
2、在D:\PLSQL\instantclient_11_2文件夹下找到oci.dll、oraociei11.dll、orannzsbb11.dll这三个文件。

把这三个文件放置在C:\Windows\System32系统文件目录下。

3、找到PHP的配置文件php.ini文件,打开并找到这一行extension=php_oci8.dll ,配置如下
;extension=php_oci8.dll      
;extension=php_oci8_11g.dll
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll

修改配置为:
extension=php_oci8.dll      
;extension=php_oci8_11g.dll
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
也就是删除extension=php_oci8.dll、extension=php_pdo_oci.dll、extension=php_pdo_odbc.dll

前面的注释符 “;”。开启php的php_oci8、php_pdo_oci、php_pdo_odbc扩展。

4、 配置系统环境变量

NLS_LANG:SIMPLIFIED CHINESE_CHINA.ZHS16GBK
TNS_ADMIN:D:\PLSQL\instantclient_11_2

 

5、重启apache服务,现在我们就可以使用phpinfo()函数来查看是否开启了OCI扩展了!
如果显示如下,说明你已经配置成功!那么现在,你的开发环境已经支持Oracle数据库了!

\jsp7ty9WaV01xx1sjyx2bVlbVGIJXXvDhumW1MHYde3jL3USNU7aFFnf0eT6R746LxSP9V8aZP/g4TWnqKP8qNZ3mgdxRPx5Zd8x5MTTVFLezntc+9bHdxlc+2ZE+DxV0FJxmbPzXfS2hzmov7qi3Axu47orojiu0sH+y3LHpqZw4+mjcT+aOfh0EtX7TB/atr+/2NNHebLuZOxbFaUtikXTH/MHblDfnqZycq7TVHYMzSp64zFFy0TLoKEiq8l8MyZreLG9uXa6Mn5ttuvJxR8FVankpyn/1NNs/gqB+aXd3tFljXdfJOpoONueFV87X/nTPtnbgIGS5o992X0fDhP2igg1hcUlw905bsB01RR/bux6iTmnREjuwFgOzLSfHmezFpe7ztYdOWzO++6WHx70nr5IOOz7N+Iya4oUl/pKJ2/RO22b+i6Fp0vWkMp89dlFq3nRBgo6SZ9R0kW2hvZKZryXUWbnEM6vOOScP2sQls3Ky+Y2Ly69YCOJqUR0ffxMjrrOsZ9KIlue0A8fB8dcAUEcU+yVCh5ALc0eABLgjun1pNnbrI0FjEO4IOeCOCKFxCXeEHHBHhNC4hDtCDrgjQmhcwh0hB9wRITQu4Y6QQ5s7AgAAjBZyR4TQiOTIHSED3BEhNC7hjpAD7ogQGpdwR8gBd0QIjUu4I+SAOyKExiXcEXLAHRFC4xLuCDngjgihcQl3hBxy3THYwWp32W2DdjzcZWwKeIuyGx7FO0PF71t3yH2RtOuquh9vI7yjDj14hPai2B3nVWV2c8zZMWo5uXwHn8gGjTA8styxaffj3ZXc7Pdah2fuCBhLtuu78ZZJmYfbfZhzNjreRdcakl+HCTaNQmOTdcf1bo4Tdcd5NRVfbN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z/6tFw61BdF4VhvNHq/GY5ZWT0CsTvqjUbvPSurHSTLHfWxGgmgEiU115EKcVS171IXpZ5JBVakNdUbiuJUHELa9M25o9bUxNd2lHTHZM2t7qgdJZW8SsnBJ2sm3TE5zmtdz3iOvPngor3nd4Q6qCAca9bo/bLeeBiHp3KOQTAd5hPJqq6/6c3DODyV0xGy3NE33Di0hRJDg1t6EuuTt9kk8gbpSPLwoAXpSFOioDyu6TdzIF2lDIhvKFbVfW3NdtfSUVOQyhx8UKJd2FFJzWCcTV0nr2eyMBiStpnZEeqgnAnH5vsDzq2/wsE3Oo6J23DHyy9vCOtMkW90dAvHXwNAaJByqRtdcFswHb0Dd9yPgmc+j5xs3W7vqJsiHHcKpqN34I4IDVOE407BdPQO3BGhYYpw3CmYjt6BOyI0TBGOOwXT0TtwR4SGKcJxp2A6ekebOwIAAIyWtDsCAACAgjsCAACE/H/CulMuUCPixgAAAABJRU5ErkJggg==" />

现在我们写一段数据库链接测试代码,看看是否成功链接!
 

复制代码
1 if ($conn = oci_connect("用户名",'密码','127.0.0.1:1521/test')) { 2     echo "SUCCESS ! Connected to database
"; 3 } else { 4     echo "Failed :-( Could not connect to database
"; 5 } 6 oci_close($conn); 7 
8 exit;
    黑客防线网安服务器维护方案本篇连接:http://www.rongsen.com.cn/show-17107-1.html
网站维护教程更新时间:2012-09-06 01:04:10  【打印此页】  【关闭
我要申请本站N点 | 黑客防线官网 |  
专业服务器维护及网站维护手工安全搭建环境,网站安全加固服务。黑客防线网安服务器维护基地招商进行中!QQ:29769479

footer  footer  footer  footer