In reply to:
It looks as though my ftp client hides some file extensions?
I've never seen an FTP client hide specific file extensions, but I have seen many clients not show 'hidden' files by default, such as .htaccess. There should be an option somewhere in your FTP client configuration to enable the display of 'hidden' files.
In reply to:
In my root I have a php5 dir. Under that I have; bin, etc, include, lib, man and share. Under bin dir I have a file called 'php'.
Are you sure you followed these wiki instructions precisely?
The last few lines in the shell script in the wiki article are;
#copy PHP CGI
mkdir -p ${HOME}/${DOMAIN}/cgi-bin
chmod 0755 ${HOME}/${DOMAIN}/cgi-bin
cp ${INSTALLDIR}/bin/php ${HOME}/${DOMAIN}/cgi-bin/php.cgi
echo ---------- INSTALL COMPLETE! ----------
This should have created a cgi-bin sub-directory within your domain directory, set the required permissions and copied the php executable from where it was compiled to this sub-directory. Check your domain directory to see if this sub-directory (and the executable) exist.
If they do, then you simple need to add the following to your .htaccess file and the new install will be used.
AddHandler phpFive .php
Action phpFive /cgi-bin/php.cgi
Mark