Why not install the same version of PHP to the default location where cPanel installs it? I think it should be /usr/local.
If you need to support both PHP 4 and 5, you have to make decision which version is the primary, installed to the default location, which version is the secondary, install...