Here is the solution provided by Zend to enable FTP, in case anyone else is looking for the solution.

(http://forums.zend.com/viewtopic.php?f=64&t=1506)

From the Core GUI -> Configuration | Extensions look for the "ftp - FTP Client" Extension click the red light bulb to load it, click the right top icon -> "Save Settings".

From the i5 Green screen screen menu GO ZENDCORE/ZCMENU select option 5. Service Management menu and restart the apache instances:
4. Start Apache server instances
5. Stop Apache server instances

Run the supplied PHP script to check for the extension again, you should see "FTP functions exist".

Scott

Kelly Cookson wrote:
The HTTP 500 error came up because the web page contained a programming
error. The FTP classes are apparently not available on my installation,
which is causing the problem. The folks at Zend are helping me.
Thanks to all who responded.
Kelly

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Haas, Matt (CL Tech Sv)
Sent: Monday, July 13, 2009 7:50 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] PHP - Moving files between iSeries and other
servers

I'm not very familiar with PHP so I don't know if it is doing this under
the covers or not but the script has to return valid HTTP headers or you
will get a 500 error. If this is the cause of the 500 error, you'll see
a message in the error log complaining about the headers missing.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Kelly Cookson
Sent: Saturday, July 11, 2009 12:12 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] PHP - Moving files between iSeries and other servers

<snip> But, if I try to run the same script in the i5 Zend Core, I get the HTTP
500 error page: "The website cannot display the page. Most likely
causes: The website is under maintenance. The website has a programming
error." It won't even execute the first line. I comment out all lines
but the first one and I still get the HTTP 500 error. I even restarted
my Apache server instance from the zcmenu to make sure I was picking up
the right php script and not something cached.
</snip>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.