I have been trying for two days to get the Bitnami LAMP on AWS to work and I can't seem to get it over the finish line.
I have followed the instructions on the Bitnami website for enabling the OCI8 extension. I have modified php.ini to add extension=oci8.so, downloaded the 64bit version of InstantClient (highest v11 available), unzipped it into home/bitnami, set the LIBRARY as instructed. Restarted Apache and ran the php -m command and I can see in the list of extensions oci8.
Looks great! Well. when I run phpinfo() it shows no sign of OCI8 being loaded. None of my applications can connect to Oracle and I've put a test script (suggested by Oracle) to test connectivity and it fails with a 500 error.
I have a development environment running windows and ran the php script there and it connects just fine.
I'm suspecting that since OCI8 is not showing up in phpmyinfo that it's because there is another step somewhere that isn't documented that I'm not doing.
FYI I did notice something about SELinux blocks the loading of the extension if it's enabled. I can't see that the Bitnami stack has SELinux but could that be the issue?