Packages & files (test versions)

Package RedHat 7.3 RedHat 7.2 Mandrake 8.2 Mandrake 8.1 FreeBSD 4.x
OpenSSL-0.9.7a download download download download download
PHP-4.3.1 (libphp4.so)
download download download download download
Package RedHat 7.3 RedHat 7.2 Mandrake 8.2 Mandrake 8.1 FreeBSD 4.x

Installation RPMs

Use for Linux:
# rpm -Uvh package_name.rpm

Installation TGZs

Use for FreeBSD:
# pkg_update package_name.tgz

Installation PHP-4.3.1 (libphp4.so)

# tar xzf libphp4.so.tgz
# rm -f libphp4.so.tgz
# mv /hsphere/shared/apache/libexec/libphp4.so /hsphere/shared/apache/libexec/libphp4.so.OLD
# mv ./libphp4.so /hsphere/shared/apache/libexec/
Don't forget to restart Apache

PHP on FreeBSD

If you have an error like this:
# /hsphere/shared/apache/bin/apachectl start
Syntax error on line 22 of /hsphere/local/config/httpd/httpd.conf: Cannot load /hsphere/shared/apache/libexec/libphp4.so into server: Shared object "libzzip-0.so.10" not found /hsphere/shared/apache/bin/apachectl start: httpd could not be started
#

Probably you have FreeBSD version < 4.7. In this case you have to install the following packages:

zziplib-0.10.53.tgz
gettext-0.11.5_1.tgz
expat-1.95.6_1.tgz
libiconv-1.8_2.tgz