---
title: Configuring PingFederate and the sample applications
description: To see a working demonstration of the PHP Integration Kit, deploy the configuration archive and sample applications.
component: php
page_id: php:setup:pf_php_ik_configuring_pf_and_the_sample_applications
canonical_url: https://docs.pingidentity.com/integrations/php/setup/pf_php_ik_configuring_pf_and_the_sample_applications.html
revdate: June 21, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Configuring PingFederate and the sample applications

To see a working demonstration of the PHP Integration Kit, deploy the configuration archive and sample applications.

## About this task

The sample configuration archive configures a single instance of PingFederate with an example integration that uses both the IdP and SP sample applications. It automatically creates two instances of the OpenToken Adapter.

|   |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | Deploying the configuration archive will destroy your existing PingFederate configuration. We recommend that you test it on a fresh installation of PingFederate, or back up your current configuration as shown in [Exporting an archive](https://docs.pingidentity.com/pingfederate/latest/administrators_reference_guide/help_configurationarchivetasklet_configurationarchiveexportstate.html) in the PingFederate documentation. |

## Steps

1. Start PingFederate.

2. From the Agentless Integration Kit `.zip` archive, copy `sample/data.zip` to `<pf_install>/pingfederate/server/deploy/drop-in-deployer`.

3. If your PHP server is not hosted on the same machine as PingFederate, adjust the URLs in the OpenToken Adapter instance configurations.

   1. Sign on to the PingFederate administrator console.

   2. On the **Identity Provider > Adapters** screen, click OTIdPPHP.

   3. On the IdP Adapter screen, click Show Advanced Fields.

   4. In the Authentication Service and Logout Service fields, change the localhost:9119 portion of the URL to point to your PHP server.

   5. Make the equivalent changes to the URLs in the **Service Provider > Adapters > OTSPPHP** adapter instance configuration.

4. Do one of the following:

   * [Deploying on Red Hat Linux](pf_php_ik_deploying_on_red_hat_linux.html).

   * [Deploying on Linux or Unix](pf_php_ik_deploying_on_linux_or_unix.html).

   * [Deploying on Windows](pf_php_ik_deploying_on_windows.html).

   * [Deploying on the PHP built-in web server](pf_php_ik_deploying_on_the_php_built_in_web_server.html)
