Re: oci8 syntax in DB.php ?
| From: | Stig S. Bakken | Date: | Tue, 20 Feb 2001 00:00:16 +0000 |
| Subject: | Re: oci8 syntax in DB.php ? | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1389@lists.php.net to get a copy of this message | ||
John Cavacas wrote:
>
> Hey guys,
>
> Seem to be having a bit of a problem using oracle + DB.php.
>
> I can connect to the database with no problems using OCILogon, but when
> using this:
>
> $db = DB::connect( "oci8://$dbuser:$dbpass@$dbname/$dbhost" );
>
> Which I believe is wrong, or
>
> $db = DB::connect( "oci8://$dbuser:$dbpass@$dbname" );
>
> Is what I think it should be. Regardless they both don't work.
>
> The error that I am getting back is:
>
> Fatal error: Call to undefined function: ocilogon() in DB/oci8.php on line
> 86
>
> Any ideas ?
Uhm, this error simply means that you don't have the oci8 extension
installed or loaded.
- Stig