Install Oracle OCI8 for PHP 8.2 Ubuntu 22.04

Install Oracle OCI8 for PHP 8.2 Ubuntu 22.04 


Get the link for the latest RPM

As of 26 March 2023

wget -c

wget -c

wget -c

wget -c

wget -c

wget -c

wget -c

## ===>

apt install alien

### alien -v --scripts

alien -v --scripts oracle-instantclient-basic- oracle-instantclient-devel- oracle-instantclient-odbc- oracle-instantclient-tools- oracle-instantclient-basiclite- oracle-instantclient-jdbc- oracle-instantclient-sqlplus-

dpkg -i oracle-instantclient-basic_21. oracle-instantclient-devel_21. oracle-instantclient-odbc_21. oracle-instantclient-tools_21.  oracle-instantclient-jdbc_21. oracle-instantclient-sqlplus_21.


check for this file with ls command



apt install libaio-dev

apt install php8.2-dev php-pear build-essential libaio1

apt install php-pear

pecl channel-update

pecl install oci8


Build process completed successfully
Installing '/usr/lib/php/20220829/'
install ok: channel://
configuration option "php_ini" is not set to php.ini location
You should add "" to php.ini


edit fail /etc/php/8.2/cli/php.ini dan /etc/php/8.2/fpm/php.ini (cari oci8)


### php 7.4 ### pecl install oci8-2.2.0

##===> = On


Configuring PHP for FAN
With the enhanced OCI8 extension, a php.ini configuration parameter allows PHP to be
notified of FAN events: = On
FAN support is only available when PHP is linked with Oracle 10gR2 or 11g libraries and connecting to
Oracle Database 10gR2 or 11g. Review the patches for Oracle bugs 7143299 (fixed in Oracle and
8670389 (fixed in to improve login times in various conditions when using

Harisfazillah Jamel ( LinuxMalaysia )

26 March 2023

Popular Posts


64bit Activity Adempire advocate Akta Apache ASAS Azam backup backuppc Bash Beowulf Big Data Broadband Budget Centos Cinta Cluster CMS cmsfornerd Company Complain computer Computer Operation Conference Contest Data Centre Operation DBmail Digg Digital Certification Discussion Group Django DNS Docker Domain Duit Online Economy Elastic Stack Elasticsearch ELK email email server English Evangelist Events Family Tree Fedora File System Firefox Foss FreeBSD FTX Gesaan Gluster Gmail Google Google App GTUG Hacking Hadoop hafnie Harisfazillah Jamel horde HP-UX hwclock IBM ICT Service Delivery and Operation Indonesia Internet Internet Tools Itanium Jabatan IT Negara Jaring Java Javascript Jepun Jiwang Joke Joomla K3S K3Sup Kernel Kesihatan Kibana KOSTEM Kubernetes ldap Linux Linux Counter linuxmalaysia Logstash Love Mailman MailScanner Mailwatch Malay Malaysia MAMPU MDeC meetup Melaka Melayu Merdeka Microsoft Migration mirror sites Money Online Monitor MOSC 2010 MOSC2010 mosc2011 MOSC2013 MOSCMY MOSCMY2014 MOSCMY2015 Mozilla MPI MSC Malaysia MSC Malaysia OSCONF MSCOSCONF My Love MyGOSSCON MyMeeting Mypenguin99 mysql Nagios NagiosQL Negaraku Nginx nss_ldap ntp OBW2014 Open Office Open Source openldap OpenSSH OpenStack Opera OS2 OS400 OSCC OSCC MAMPU OSS OSS Policy OWASP Parallel Computing People Power Personal Petition PGP PHP Pligg Podman Politik Postfix Postgresql Programming Proxmox Python q1moscmy2015 Questionnaires Research Research tools RPM SASSIAN Sassian 85-89 Sassians 85-89 SCO Security Sekolah Sekolah Alam Shah Shell script Software License Solaris SongketMail SongketMailFilter sourceforge spam spamassassin Spoof SSH Survey SVR4 System Tools Technorati Terjemahan Terminal TMnet Tor Training translation Treasury Malaysia Trend Micro Twitter Ubuntu Unix Virtualization VMS VOIP Wang Web Server Windows Zimbra

LinuxMalaysia Mastodon