Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Zend Server for IBM i versions 9 or 2018 through 2019 are a new Licensed Program, to allow side by side comparisons to versions running PHP 5.  To upgrade from versions 8 and earlier will require a migration.  This article provides some notes to help you get started with this task.

...

Zend Server for IBM i version 9 or 2018 through 2019 installed parallel to Zend Server 8 or lower on any supported version of IBM i.

...

Zend Server for IBM i supports parallel installations of Zend Server 9 or 2018 through 2019 with earlier versions of Zend Server on the same machine or partition. 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 7.

Info
title

...

What is true for Zend Server 8 is generally true for 6 and 7 as well. What is true for Zend Server 9 is generally true for 2018 and 2019 as well.
For the purposes of this article, we have written Zend Server 8 when we mean Zend Server 6, 7, or 8.  It just seemed cleaner.  In some areas we just say Zend Server 9 when we mean Zend Server 9, 2018, or

...

2019.

Download and Install Zend Server 9 or 2018
Note: , 2018, or 2019

Info
titleIf Zend Server 9 Beta version is installed, please uninstall it before continuing.
The GA version of Zend Server 9 will require a clean install: Perform a clean install of Zend Server for IBM i

To begin, please download and install Zend Server 9, 2018, or 20182019, using the full installation (i.e. not an installer labelled "upgrade").  Here are some tips for downloading and installing Zend Server:

Download and install Zend Server for IBM i

After installing Zend Server 9, you should see two versions of Zend Server installed.  From a command line:

...

Copy Applications and Other Content to Zend Server 9, 2018 or 20182019

The simplest installations typically have PHP scripts and other content in the /htdocs directory for the Apache instance.  This content can simply be copied to the new /htdocs folder.

...

You should now be able to execute your /htdocs scripts in Zend Server 9, 2018 or 2019 by changing the port.  For example, if you had a script '/www/zendsvrzendsvr6/htdocs/hello.php', using Zend Server 8 you could run it in your browser at this address:

...

If you have any deployed Virtual Hosts, Libraries, and/or Applications in Zend Server 8, simply deploy them in Zend Server 9, 2018 or 2019 using the User Interface.  Libraries already present in Zend Server 9, 2018 or 2019 from the installation (Framework and Toolkit libraries) do not have to be redeployed.

If you have manually created Virtual Hosts in the Apache configuration for the ZENDSVR6 instance of Apache, you will need to also create them in the ZENDPHP7 instance.

Info
titleNote: Any Virtual Hosts created for Zend Server 9, 2018 or 2019 need to have unique ports
If any of your Virtual Hosts are using ports other than the defaults, remember they cannot use the same port while both Zend Server 8 and Zend Server 9 are active.  Temporarily assign different ports for use in Zend Server 9 while testing.  You can change them later when you go into production with Zend Server 9.

Change the Path for PHP-CLI Calls

...

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

For Zend Server 9, 2018 or 2019 use:

/usr/local/zendphp7/bin/php-cli

...

Zend Server does not support any Apache instances other than the default (ZENDPHP7 for ZS 9, 2018 or 2019 and ZENDSVR6 for ZS 8).  We do have customers who have implemented additional Apache instances by adding a FastCGI configuration to these other instances.  If you have any such instances, you can redirect them to PHP 7 by changing any occurrences of '/zendsvr6' to '/zendphp7' in the fastcgi.conf for that instance.  However, you might need to do other things, and it is easy to mess this file up, so please be careful.  This activity is not covered under your Zend Support subscription, so please be sure you know what you are doing, or have whoever set this up for you in the first place come back and make the needed changes.

...

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

For Zend Server 9, 2018 or 2019, the User Interface is found in your browser at port 10091:

...

Each point release of PHP has migration notes related to the previous version.  So for example, migration notes for PHP 7.0 show changes that would need to be made to PHP 5.6 code.  So, if you are moving from PHP 5.5 to 7.13, you would need to review the migration notes for PHP 5.6, 7.0, 7.1, 7.2 and 7.13.  So, how far you are coming determines how far back you need to go.  Here are the links:

Migrating from PHP 7.2.x to PHP 7.3.x

Migrating from PHP 7.1.x to PHP 7.2.x

Migrating from PHP 7.0.x to PHP 7.1.x

...