That script asks for your php directory, not the compiled .cgi location:
It depends entirely on how you went about customising your PHP during the build as to where your php files would be located.
Common places are probably /HOME/user/php5 and /HOME/user/etc/php5
Browse through your user directory via ftp/shell and try find it.
Maximum Cash Discount on any plan with MAXCASH