Deploying on Windows
You can manually deploy the PHP Integration Kit sample applications on Windows computers.
Steps
-
From the integration
.ziparchive, copy thesampledirectory to root level of the DocumentRoot of your Apache HTTP server. This makes the directory accessible athttps://hostname/sample. -
Move the
sample/configdirectory to a directory on the server that is outside the DocumentRoot. This protects theconfigdirectory from unauthorized access. -
Update the location of the
agent-config.txtfiles. Modify the following files to point to the new location of theconfigdirectory.-
Open
sample/idp/pingidentity/opentoken/helpers/config.phpfor editing. -
Change the following line based on the new location of your
configdirectory:const AGENT_CONFIG_FILE = "../config/idp/agent-config.txt";
-
Repeat the equivalent steps a-b in
sample/sp/pingidentity/opentoken/helpers/config.phpfor your SPagent-config.txtfile.
-
-
Update the location of the
config.propertiesfiles. Modify the following files to point to the new location of theconfigdirectory.-
Open
sample/idp/Const.phpfor editing. -
Change the following line based on the new location of your
configdirectory:define("CONFIG_FILE", "../config/idp/config.properties"); -
Repeat the equivalent steps a-b in
sample/sp/Const.phpfor your SPconfig.propertiesfile.
-
-
Use Windows Task Manager to determine the user that runs the Apache server.
-
Change the security properties for the
configto give full control to the user that runs the Apache server. -
If your PingFederate server is hosted on another computer, go to the following URLs and change the PF Host Name value in the SP and IdP sample applications configuration.
-
https://hostname/sample/idp/ConfigUI.php -
https://hostname/sample/sp/ConfigUI.php
-