Deploying Demo Scripts on IBMi

This topic describes how to deploy the PHP Demo Scripts application containing sample PHP and PHP XMLSERVICE Toolkit usage examples.

 

 

Instructions on how to complete a procedure

To deploy the sample scripts:

  1. In the Zend Server UI, go to the Getting Started page.
  2. In the Great! What's Next? section, select the XML Toolkit section.
  3. Click Deploy Now.
    The Deploy Application wizard is displayed, and Zend Server begins downloading the application package.

  1. Click Next.

    The Readme dialog is displayed.

  1. Click Next.
    The Application Details dialog is displayed.

  1. Enter a display name, virtual host and path. The values for the virtual host and the path will make up your base URL.
  2. Click Next.
    The License Agreement dialog is displayed.

  1. Click Next.
    The Prerequisites Validation dialog is displayed.

  1. Click Next.
    The User Parameters dialog is displayed.


  1. Enter the following details:
    • Server Connection - Enter transportation type (default setting - *LOCAL).
    • Username to IBM i user ID - IBMi user ID password (default setting - empty).
    • Password to IBM i user ID - IBM i user ID password (default setting - empty).

    Note:

    On IBM i, the default configurations in this dialog can be left untouched.

  2. Click Next.
    The Deployment Summary dialog is displayed.

  1. Click Deploy.
    The sample scripts are deployed on Zend Server, and displayed on the Manage Apps page.
  2. To use the sample scripts, select the application from the Applications list, and click the Base URL.
    The application is displayed in your browser.
  3. Select a sample script to run or view the source code. To view the PHP XMLSERVICE Toolkit usage examples, click PHP Toolkit Demo Scripts.