Plesk - Install AtomicRocket Turtle Php

If you recieve the following error when trying to install 'php-5.0.4-14.art.src.rpm' for example:

configure: error: Cannot find rfc822.h. Please check your c-client installation.
error: Bad exit status from /var/tmp/rpm-tmp.97923 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.97923 (%build)

Then you should make sure that 'libc-client-devel' is installed:

# up2date --install libc-client-devel

Then you will need to build the rpms from the spec file located in '/usr/src/redhat/SPECS'

using the following command:

# rpmbuild -bb --target=i686 --define="rhel4 1" php-5.0.4-art.spec

Once the above has been completed then you should now be able to install the rpm:

cd /usr/src/redhat/RPMS/

rpm -Uvh *.rpm

Now you will neeed to check and make sure that the correct version of php is installed:

php -v