I am converting to a new IBM I server and have loaded the latest zend server 5.6. The web application has been moved to the new server and runs fine with the exception of the system() function. I installed the zip/unzip utilities from easy400 dot net. I can run the unzip utility fine from the qp2term interface but not from within PHP. When I use the system() function to run unzip, I get a return value of 50. Can't find anything that tells me what return value 50 means? Any help would be appreciated.

I know this doesn't exactly answer your question, but if you're interested in a workaround.

I don't know what could be wrong with system() function, but have you considered using "Zip" extension right there on the php, instead of using external zip/unzip utility using system() call.Just search php[dot]net for "Zip" and try that or several of the other similar extensions out.

I think I looked at the zip extensions and they didn't offer support to unzip password protected files...which ours have passwords on them. I will look again at the extensions to see if they would work.

There are also several other compression/archive extensions available, if the Zip one doesn't suit your needs you could check those out too.There's Bzip2, LZF, Phar, Rar, Zip and Zlib that can be found by searching "compression" at php[dot]net.