$conn = oci_connect('hr', 'welcome', 'localhost/XE'); if (!$conn) { $e = oci_error(); trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); } PHP: http://php.net/manual/en/function.oci-connect.php
You need ORI8 module as the oracal database driver - client. http://www.oracle.com/technetwork/topics/php/whatsnew/index.html