Installation Instructions
These instructions are for new installs of WebSmart 11.3 ILE, PHP (on IBM i) and Clover (or higher) only. Please log in to myFreschesolutions.com to access the New Features and Upgrade Guide as well as the User Guide. If you don't have an IBM i, use these instructions to install WebSmart PHP on your PC.
Step 7: Create an FTP Connection (PHP only)
This step is only required for PHP. If you do not plan to create PHP applications skip to the next step (though you can also use these instructions to configure the WebSmart IDE as an FTP client to access the IFS).
WebSmart PHP requires at least one FTP connection. Your FTP connections allow you retrieve and work with files related to your application as well as set defaults for the PHP programs you create.
In the WebSmart IDE open the Tools/Options window and click the FTP entry to present these options:

? Click the Add button and enter the following values for your new FTP site:
Site Name | Type an informational description of the site you areconnecting to. |
FTP Address | Enter the IP address or domain name of your server. |
Initial Directory | Enter the initial directory to be displayed. For WebSmart, use this value: '/www/websmart/htdocs/wsphp/' (with no quotes). |
Web Path | Select a default path to pre-pend to your program name when you click the Launch button from within the IDE. The default WebSmart Apache HTTP server instance runs on port 8150, so this should normally be set to 'http://your_IBMi_IP:8150/wsphp/' (no quotes). |
User/PSWD | The IBM i profile to use to connect to the IBM i when saving the PHP files. |
FTP Port | Enter the user profile and password to use to connect to the IBM i when saving the PHP files. |
Passive Mode | Check this option if you need to establish your FTP connection in passive mode. |
Zend API User | ? Enter the Zend profile to use when configuring the entry for Z-Ray. |
Key | This is the key attached to the specified Zend API User for Z-Ray. |
? After entering the required values, click the Test Connection button to verify that you have entered your configuration details correctly. If the confirmation window tells you that the connection is working, press OK to create the site and continue with the next section.