// Module included in the following assemblies:
//
// * openshift_images/using_images/using-images-source-to-image.adoc
// * Unused. Can be removed by 4.9 if still unused. Request full peer review for the module if it’s used.

[id="images-using-images-s2i-php-pulling-images_{context}"]
= Pulling images for PHP

//These images come in two options:

//* RHEL 8
//* CentOS 7

The RHEL 8 images are available through the Red Hat Registry.

.Procedure

* To pull the RHEL 8 image, enter the following command for the version of PHP you want:

.PHP `8.1`
[source,terminal]
----
$ podman pull registry.redhat.io/ubi9/php-81:latest
----
+
.PHP `7.3`
[source,terminal]
----
$ podman pull registry.redhat.io/rhscl/php-73-rhel7:latest
----

////
*CentOS 7 Based Images*

CentOS images for PHP 5.5 and 5.6 are available on link:quay.io[Quay.io].

.Procedure

* To pull the CentOS 7 image, enter the following command for the version of Node.js you want:
+
.PHP `5.5`
[source,terminal]
----
$ podman pull openshift/php-55-centos7
----
+
.PHP `5.6`
[source,terminal]
----
$ podman pull openshift/php-56-centos7
----
////

To use these images, you can either access them directly from registry.redhat.io, or push them into your {product-registry}. Additionally, you can create an image stream that points to the image, either in your container image registry or at the external location. Your {product-title} resources can then reference the
image stream.
