wampServer链接oracle

环境: php

win7 64位,  html

wampServer2.2, oracle

php5.5.20, 测试

oracle 11gR2 spa

材料: htm

ci.dll、oraociei11.dll、orannzsbb11.dll 都是从oralce client11gR2_x64中copy回来的。直接放到wamp->apapched->bin下; ci

而后wamp->php->php extensions,勾选php_oci8_11g; it

wampServer重启全部服务; io

测试 cli

<?php  //echo phpinfo(); $conn=oci_connect('orcl','orcl','192.168.0.200:1521/orcl'); if(!$conn){ $e=oci_error(); print htmlentities($e['message']); exit; } print htmlentities("success");

相关文章
相关标签/搜索