b00mtastik
September 4th, 2012, 03:19 AM
Hello to all Ubunters out there!
So, I've done ALL OF IT. No seriously, damn near close and this still isn't working.
I've downloaded the Instant Client Basic, SDK, and ODBC and ran the RPMS via Alien and they installed.
Installed OCI8 via PECL and it installed, $ORACLE_HOME directory was set up nicely and found were the OCI8.SO file was sitting and pointed the 'extension_dir' in 'php.ini' to it, and also pointing the LD_LIBARY_PATH to the correct Oracle location in "/usr/lib/oracle/11.2/client64/lib" (<-- by memory, but I know I had the problem where it was 'client64' not client since I've downloaded the 64 bit version.
Now...
PHPINFO is still not showing that OCI8 support has been enabled. Ubuntu Server 12.04 is still not showing it and I'm wondering if anyone else has had this problem and have figured out a way around it? I've been Googling and tutorialling for almost 4 days straight now and I figured it was about time to forum it up as well!
Now for a bit of background, I'm working on a php web application via SilverStripe to connect to an Oracle DataBase to download the information needed to work with so then it can be mapped properly to the SilverStripe database and then used as seen fit. I managed to get this working perfectly on a Windows 7 64bit environment to test if it was possible and it did. Perfectly, I might add again. Ubuntu Server 12.04 was not so nice to me. But I'll show it...with a bit of help from you all! :)
-B00mer
So, I've done ALL OF IT. No seriously, damn near close and this still isn't working.
I've downloaded the Instant Client Basic, SDK, and ODBC and ran the RPMS via Alien and they installed.
Installed OCI8 via PECL and it installed, $ORACLE_HOME directory was set up nicely and found were the OCI8.SO file was sitting and pointed the 'extension_dir' in 'php.ini' to it, and also pointing the LD_LIBARY_PATH to the correct Oracle location in "/usr/lib/oracle/11.2/client64/lib" (<-- by memory, but I know I had the problem where it was 'client64' not client since I've downloaded the 64 bit version.
Now...
PHPINFO is still not showing that OCI8 support has been enabled. Ubuntu Server 12.04 is still not showing it and I'm wondering if anyone else has had this problem and have figured out a way around it? I've been Googling and tutorialling for almost 4 days straight now and I figured it was about time to forum it up as well!
Now for a bit of background, I'm working on a php web application via SilverStripe to connect to an Oracle DataBase to download the information needed to work with so then it can be mapped properly to the SilverStripe database and then used as seen fit. I managed to get this working perfectly on a Windows 7 64bit environment to test if it was possible and it did. Perfectly, I might add again. Ubuntu Server 12.04 was not so nice to me. But I'll show it...with a bit of help from you all! :)
-B00mer