PHP Packages for Oracle Linux

Recent community releases of PHP built by Oracle

  • Home > 
  • PHP Repositories

PHP for Oracle Linux

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.

Available PHP Releases

PHP Version Oracle Linux Release Repository Name
7.2 Oracle Linux 7 ol7_developer_php72
7.1 Oracle Linux 7 ol7_developer_php71
7.0 Oracle Linux 7 ol7_developer_php70
7.2 Oracle Linux 6 ol6_developer_php72
7.1 Oracle Linux 6 ol6_developer_php71
7.0 Oracle Linux 6 ol6_developer_php70

Installation

To install PHP from this repository, ensure you have the latest Oracle Linux Yum server repo file and enable the appropriate repository.

For example, to install PHP 7.1 on Oracle Linux 7 run these commands as the root user:

# cd /etc/yum.repos.d
# mv public-yum-ol7.repo public-yum-ol7.repo.bak
# wget http://yum.oracle.com/public-yum-ol7.repo
# yum install yum-utils
# yum-config-manager --enable ol7_developer_php71
# yum install php

Getting Help

For help with PHP on Oracle Linux, please visit the PHP space in the Oracle Developer Community.

software.hardware.complete