Migrating from Zend Server for IBM i 5.x

Note:

Zend Server 5 is the last version of Zend Server to support V5R4. For customers running Zend Server for IBM i 5.x on V5R4, it will be necessary to upgrade to V6R1 or 7.1, prior to installing a later version of Zend Server for IBM i.

Zend Server for IBM i supports parallel installations of Zend Server 5.x and later versions of Zend Server on the same machine. They are different Licensed Programs on the IBM i, which allows for testing of the new version when there is only one IBM i partition available. It also provides a convenient method for upgrading to PHP 5.4.

Port and Directory Configurations

In the default configurations, Zend Server 5.x uses port 10088, while later versions of Zend Server use ports 10080 and 10081, so they do not conflict (see Java Bridge exception below). Zend Server 5.x uses directories named '/zendsvr', while later versions of Zend Server use directories named '/zendsvr6'. Also, Zend Server 5.x uses library ZENDSVR, while later versions of Zend Server use library ZENDSVR6.

Migrating your Scripts

Instructions on how to complete a procedure

To migrate from Zend Server 5.x:

  1. Copy your scripts from '/www/zendsvr/htdocs' to '/www/zendsvr6/htdocs'.
  2. Verify the scripts in '/www/zendsvr6/htdocs' have *RX permissions granted to user QTMHHTTP.

Example:

If you had a script '/www/zendsvr/htdocs/hello.php', using Zend Server 5.x you could run it in your browser at this address:

http://<your i5 ip address>:10088/hello.php

You could copy the script into '/www/zendsvr6/htdocs/hello.php', grant user QTMHHTTP *RX permissions to it, then run it at this address:

http://<your i5 ip address>:10080/hello.php

Using CLI Calls:

Change the path to php-cli.

Example:

Where for Zend Server 5.x you would use this:

/usr/local/zendsvr/bin/php-cli

For later versions of Zend Server, use:

/usr/local/zendsvr6/bin/php-cli

Note:

If you are using full paths in include() or require() functions, you will need to adjust your paths if you move your application. For example, if you have specified the path to Zend Framework 2, the new location in later versions of Zend Server is '/usr/local/zendsvr6/share/ZendFramework2'.

Accessing your Scripts

While Zend Server 5.x serves applications and the user interface from the same port - 10088, later versions of Zend Server use a special port - 10081, for the user interface.

So, where you would use addresses formatted like these in Zend Server 5.x:

http://<your IBMi ip address>:10088/hello.php

http://<your IBMi ip address>:10088/ZendServer

For later versions of Zend Server you would use these:

http://<your IBMi ip address>:10080/hello.php

http://<your IBMi ip address>:10081

Using Java Bridge

Since both versions of Zend Server use the same default port, only one of the versions of Java Bridge should run at any time.

Note:

Customers using Virtual Hosts or multiple Apache instances may find that migration presents an opportunity to use Deployment instead to configure and manage their applications.