Good day, fellow developers!
I have been searching for 2 weeks now on how to install the OCI8 PHP extension
on Elastic Beanstalk using .ebextensions
but sadly I can't search for similar ones.
Before I arrived at the conclusion to use .ebextensions
, I tried the Docker approach first. I created an image with OCI8 PHP extension and Oracle Instant Client dependencies. It was working fine on my local Docker Hub app but errors appeared when I tried deploying it to EB.
After reading some more information, I stumbled upon this AWS article: How do I install PECL 7 modules on Elastic Beanstalk environments running on PHP with Amazon Linux 1 stacks?. From that, I concluded that this is the best option in my case. The problem now is there are almost no articles that can be found which pertain to OCI8, Elastic Beanstalk, and .ebextensions
.
Has anyone tried using the .ebextensions
config files to install the OCI8 PHP extension?
Any clue will really help.