title: Install Php 7.4.1, oracleclient and oci8 in CentOS Linux release 7.2.1511 (Core)
body: <p>I am trying to install PHP 7.4.1, oracleclient and oci8 for oracle connectivity. I have tried with every possible solutions on various forums but no luck.
  System: CentOS Linux release 7.2.1511 (Core)</p>
  <pre><code>[root@localhost ~]# rpm -qa|grep php
  php-common-7.4.10-1.el7.remi.x86_64
  php-pecl-mcrypt-1.0.3-1.el7.remi.7.4.x86_64
  php-process-7.4.10-1.el7.remi.x86_64
  php-opcache-7.4.10-1.el7.remi.x86_64
  php-xml-7.4.10-1.el7.remi.x86_64
  php-devel-7.4.10-1.el7.remi.x86_64
  php-sodium-7.4.10-1.el7.remi.x86_64
  php-pdo-7.4.10-1.el7.remi.x86_64
  php-pear-1.10.12-2.el7.remi.noarch
  php-cli-7.4.10-1.el7.remi.x86_64
  php-mysqlnd-7.4.10-1.el7.remi.x86_64
  php-json-7.4.10-1.el7.remi.x86_64
  php-gd-7.4.10-1.el7.remi.x86_64
  php-oci8-7.4.10-1.el7.remi.x86_64
  php-fedora-autoloader-1.0.1-2.el7.noarch
  php-7.4.10-1.el7.remi.x86_64
  [root@localhost ~]# 
  
  
  [root@localhost ~]# rpm -qa|grep oracle
  oracle-instantclient18.3-sqlplus-18.3.0.0.0-3.x86_64
  oracle-instantclient18.3-basic-18.3.0.0.0-3.x86_64
  oracle-instantclient18.3-jdbc-18.3.0.0.0-3.x86_64
  oracle-instantclient18.3-devel-18.3.0.0.0-3.x86_64
  [root@localhost ~]# 
  </code></pre>
  <p>[root@localhost ~]# vi .bash_profile</p>
  <h1>.bash_profile</h1>
  <h1>Get the aliases and functions</h1>
  <p>if [ -f ~/.bashrc ]; then
  . ~/.bashrc
  fi</p>
  <h1>User specific environment and startup programs</h1>
  <p>PATH=$PATH:$HOME/bin</p>
  <p>export PATH</p>
  <pre><code>[root@localhost ~]# vi .bashrc vi .bashrc
  # .bashrc
  
  # User specific aliases and functions
  
  alias rm='rm -i'
  alias cp='cp -i'
  alias mv='mv -i'
  
  # Source global definitions
  if [ -f /etc/bashrc ]; then
          . /etc/bashrc
  fi
  ORACLE_HOME=/usr/lib/oracle/18.3/client64
  export ORACLE_HOME
  
  
  
  
  [root@localhost ~]# vi .bash_profile
  # .bash_profile
  
  # Get the aliases and functions
  if [ -f ~/.bashrc ]; then
          . ~/.bashrc
  fi
  
  # User specific environment and startup programs
  
  PATH=$PATH:$HOME/bin
  
  export PATH
  ORACLE_HOME=/usr/lib/oracle/18.3/client64
  export ORACLE_HOME
  </code></pre>
  <p>I am very beginner in system. Any help is much appreciated</p>