Issue

This article tells how to download and deploy the PHP Toolkit into Zend Server for Windows

Environment

Zend Server 7.0.0 for Windows

Resolution

The PHP Toolkit is available on our site here:

PHPToolkitForIBMi-1.5.0.zpk

Download the file somewhere on your desktop where you can find it. In the Zend Server User Interface, navigate to Applications -> Libraries, and use the 'Deploy Library' button. Browse to find the downloaded file and open it. When the file is finished uploading, click 'Next'. The prerequisites should be OK, as long as PHP is at 5.3 or higher. Click 'Next'. On the Deployment Summary dialog, go ahead and click the 'Set as default version' check box. Click 'Deploy'. The library will deploy rather quickly.

After the library is deployed, notice the include path is listed in the messages. You will need to use this include path to include the PHP Toolkit library in your scripts. You can add it to the include_path directive for PHP, found in the user interface under Configurations -> PHP -> Paths and Directories. You can also include the path in your scripts using the ini_set() function.