If your PHP application is using Oracle DBMS, you will need to install OCI8 PECL extension. Sometimes it’s quite tricky to make it work. Let’s make our hand dirty.
To install OCI8 on Ubuntu 16.06 and PHP7.1, head over to https://gist.github.com/hewerthomn/81eea2935051eb2500941a9309bca703.
Make sure met the following requirements:
- Free account on Oracle website to download Oracle Instant Client and SDK files,
- Full sudo access to your server,
- PHP 5.6 and web server installed (tested with nginx and PHP-FPM).