hi all
i tried connecting php5 with oracle 10g but faced with many problems
i used .zip for php5 and used installer for apache
configuration for php was successful
php_oci8.dll was also uncommented
but it throws the following error
undefined function oci_connect() at line......
i am using oci_connect() and ocilogon
does both of them is supported by 10g
please someone help me
i am waiting for the configuration step
connection problem
Moderator: General Moderators
please tryand post the output.
Code: Select all
<?php
$ini = get_cfg_var('cfg_file_path');
echo 'version: ', phpversion(), "<br />\n";
echo 'sapi: ', php_sapi_name(), "<br />\n";
echo 'php.ini: ', $ini, "<br />\n";
echo "<pre>\n--\n";
foreach(file($ini) as $l) {
if ( false!==strpos($l, 'oci') ) {
echo $l;
}
}
echo "--\n</pre>\n";