0
我試圖訪問從PHP ORACLE數據庫Oracle數據庫中,我使用WampServer 2.2版本的Apache 2.4.2 - PHP 5.4.3和Oracle 11g。我試了很多辦法,包括:連接到從PHP OCI8
<?php
if ($conn = oci_connect('sys as sysdba', '12345', '//localhost/orcl'))
{
print 'Successfully connected to Oracle Database!';
}
else
{
$errmsg = oci_error();
print 'Oracle connection failed' . $errmsg['message'];
}
?>
我收到以下錯誤每次我執行:
Fatal error: Call to undefined function OCILogon() in C:\wamp\www\IDS\Index.php on line 3
有誰知道如何解決這個問題?
你谷歌? https://forums.oracle.com/thread/332514 –
我做到了,但我沒有得到任何好的答案....我會檢查鏈接:)' –