Hi Marty,
sounds like you ran into the exact same problems as me.
I needed php with ftp enabled, but after the os2 update putting my php back to 4.0.3, i couldn't compile php from source, so I installed the 4.1.2 pkg, except that doesn't have ftp enabled!, so I tried recompiling from source and ran into those same crypto errors.
So I decided to get rid of some of the stuff the pkg puts there,
as root i typed:
rpm -qa | sort
this brought up all the rpms installed. I saw the php-4.1.2PM1 rpms, and typed:
rpm -e php-4.1.2PM1
(don't type extensions, also do the devel php rpm if its there)
Then I went to this page:
http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=43
and started their instructions from the top,
problem with this is you'll find some errors installing them syaing their already installed, well they need to be removed and reinstalled, otherwise no dice.
I started at the top of the list typing:
rpm -e libjpeg-6b-16
this will bring up a message saying there are dependencies and you can't remove. So just take note of the dependent rpms, and go remove them.
Basically you'll end up at the end of that list at the libtiff-devel rpm alot of rpms removed.
Then I started at the top of the list again installing them in the order listed starting with:
rpm -Uvh
http://www.uk2raq.com/updates/php/libjpeg-...-6b-16.i386.rpm
I follwed those instructions through to the phpinfo page and all worked great.
I didn't need to install Zend. It's seems all installed.
Also make sure to edit the php.ini file for safe mode settings etc.
Hope this helps,
Big thanks to uk2raq.com:)