Code: Select all
<?php
$conn = oci_connect('username', 'password', '//localhost/XE') or die("Could not connect: " . oci_error());
?>
Fatal error: Call to undefined function oci_connect() in C:\Web\MyPHP\phpOraclePractice.php on line 2
I've even tried modifying my php.ini file. I uncommented the extension = php_oci8.dll and changed the extension_dir = C:\PHP\ext, which is where the php_oci8.dll file is located. I'm lost and have no idea where to go from here...
Any help would be greatly appreciated!