Error connecting the Oracle database to the PHP, Please Help!!!
558661Feb 7 2007 — edited Feb 8 2007Hi,
I am trying to connect PHP to an Oracle database. I have set the Apache server properly. Installed PHP 5.2.0, and Oracle 10g basic client and Express edition server. I downloaded PECL pecl-5.1.4-Win32 and placed it in the PHP directory but when I unzipped it I dont see a php_oci.dll file. I have not set any paths for PHP. And when I am trying to run the following connectivity program I am getting an error:
Part of Program:
$conn = oci_connect($username, $password, $database);
if (!$conn) {
$e = oci_error();
PrintOCIError($e);
}
Error:
Debug Error: C:\Program Files\Zend\ZendStudioClient-5.1.0\bin\php5\test.php line 29 - Call to undefined function oci_parse()
Any ideas on what settigns should be done and why does the php_oci.dll file not show up in the PECL folder? Do i need to install some other version?
Thanks