<?php
$conn=oci_connect("qcsj","qcsj","MANAGDB"); 
if (!$conn) {
echo "failed";
}
else 
echo "conn";
?>
/* MANAGDB =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.64.134.6)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = managdb)
    )
  )*/运行时
您指定的网页无法访问! 
错误类型:500请问是什么原因?

解决方案 »

  1.   

    用ocilogon也是一样的错误,是怎么回事呢?
      

  2.   

            $this->_connection = oci_pconnect(
                    $this->_config['username'],
                    $this->_config['password'],
                    $this->_config['dbname'],
                    $this->_config['charset']);
      

  3.   

    参考http://topic.csdn.net/u/20110524/10/e85d0b50-0ef8-4adc-91d0-524b5e2c40ba.html?12794
      

  4.   

    错误出来了Fatal error: Call to undefined function oci_connect() in C:\Inetpub\wwwroot\konw1\phpinfo.php on line 7 
      

  5.   

    诶,扩展开了,又出现错误了,
    FastCGI Error
    The FastCGI Handler was unable to process the request. 
    --------------------------------------------------------------------------------Error Details:The FastCGI process exited unexpectedly 
    Error Number: -1073741819 (0xc0000005). 
    Error Description: Unknown Error 
    HTTP Error 500 - Server Error.
    Internet Information Services (IIS) 
    接着想办法吧