PHP Packages for Oracle Linux
PHP Packages for Oracle Linux
Menu
HOME
SUPPORT
DOCUMENTATION
DOWNLOADS
Table of Contents
Installation
Installing PHP
Updating PHP
Installing php-oci8
PHP in Containers
Getting Help
The PHP repositories contain the latest builds of stable PHP releases from the community,
including the oci8 extension for the Oracle Database. They are provided without support.
Installation
Installing PHP
Then, to install the latest available release of PHP on Oracle Linux 7:
Updating PHP
If you have PHP already installed, and a newer release has been published, make sure you
update oracle-php-release-el7 first.
The PHP OCI8 database extention enables access to Oracle Database with support for SQL,
PL/SQL, bind variables, large object (LOB) types as well connection pooling and result
caching features of Oracle Database. Read this blog post for a complete example connecting
a PHP 7.4 application to Oracle Database.
As of Oracle Instant Client 19c, no additional configuration is needed for applications to use
the Oracle client.
Oracle Linux 8 introduces the concept of Application Streams, where multiple versions of
user-space components can be delivered and updated more frequently than the core
operating system packages in RPM format or groups of related RPMs called Modules. Oracle
Linux 8 offers several independently updated versions of PHP via Module Streams. For mode
details, please refer to the documentation.
PHP in Containers
On GitHub we provide resources to build your own container images or pull pre-built images,
including:
Variants of each of the above with Oracle Database connectivity via PHP-OCI8
See the reference below to developer and run PHP applications in containers:
PHP container images on GitHub Container registry: Oracle Linux 8, Oracle Linux 7
Getting Help
For help with PHP on Oracle Linux, please visit the PHP space in the Oracle Developer
Community.
Connect Contact Us
Facebook Global contacts
https://yum.oracle.com/oracle-linux-php.html 3/4
7/20/2021 PHP Packages for Oracle Linux
LinkedIn
YouTube
Blog
Subscribe | Careers | Contact Us | Legal Notices | Terms of Use | Your Privacy Rights
https://yum.oracle.com/oracle-linux-php.html 4/4