PHP and OCI8 Installation for RHEL8

Download the following packages: oracle-instantclient18.5-basic-18.5.0.0.0-3.x86_64.rpm oracle-instantclient18.5-devel-18.5.0.0.0-3.x86_64.rpm oracle-instantclient18.5-sqlplus-18.5.0.0.0-3.x86_64.rpm Install the downloaded packages and the libnsl library: # dnf install oracle-instantclient18.5-basic-18.5.0.0.0-3.x86_64.rpm oracle-instantclient18.5-devel-18.5.0.0.0-3.x86_64.rpm oracle-instantclient18.5-sqlplus-18.5.0.0.0-3.x86_64.rpm # dnf install libnsl (ensure x86 and not i686) Download and install the EPEL repository: # rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm # dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm Install PHP and OCI8: # dnf module list php # […]

read more

Installing an rpm on Debian

My days of supporting Debian are numbered.  That isn’t a complaint, it will actually be nice to support one platform soon.  Until then I thought I’d share a little. I needed to install oci8 to support a PHP application.  In doing this I ran into the following two problems, here are the solutions that worked […]

read more