---
title: Deploying on Red Hat Linux
description: You can deploy the PHP Integration Kit sample applications on Linux Red Hat using the included installation script.
component: php
page_id: php:setup:pf_php_ik_deploying_on_red_hat_linux
canonical_url: https://docs.pingidentity.com/integrations/php/setup/pf_php_ik_deploying_on_red_hat_linux.html
revdate: June 21, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Deploying on Red Hat Linux

You can deploy the PHP Integration Kit sample applications on Linux Red Hat using the included installation script.

## About this task

The script copies the sample applications to the Apache HTTP server DocumentRoot, copies configuration files, and changes file permissions and ownership.

## Steps

1. On the computer that hosts your Apache HTTP server, sign on as root.

2. Check that the Apache HTTP server is running.

3. Check the `httpd.conf` file to determine the DocumentRoot of the Apache HTTP server. The installation script will prompt you for this information.

4. From the integration `.zip` archive, copy the `sample` directory to the host computer.

5. At a shell command prompt, change the current directory to the sample director.

6. Execute the installation script using the following commands:

   1. `chmod u+x ./install.sh`

   2. `./install.sh`

7. Enter `y` (yes) to accept the detected Apache user.
