Installing oci8 driver for MDB2
If you are seeing errors similar to:
Warning: include_once(MDB2/Driver/oci8.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/MDB2.php on line 330 Warning: include_once(): Failed opening 'MDB2/Driver/oci8.php' for inclusion
when you are trying to use MDB2 with oci8, then you just need to do the following to fix it.
- Open a terminal
-
Type ‘
sudo pear install MDB2_Driver_oci8‘ and you should see:
Password:
downloading MDB2_Driver_oci8-1.4.1.tgz ...
Starting to download MDB2_Driver_oci8-1.4.1.tgz (37,027 bytes)
..........done: 37,027 bytes
install ok: channel://pear.php.net/MDB2_Driver_oci8-1.4.1
- Restart Apache
The problem here is that you had MDB2 installed correctly, but you didn’t have the specific driver that tells MDB2 how to handle Oracle (oci8) connections.
July 21st, 2010 at 4:41 PM
YOU DON’T KNOW SHIT ABOUT COMPUTERS, FAG
July 30th, 2010 at 1:29 PM
Yeah, but you need thin enough fingers to execute this. Any fat guy can copy and paste something, those are eating motions!!!