Thanks for the response. No doubt, I looked, to be sure by find / -name php. Found only version 4 (the previous version) . I had a whole bunch of configure options - but none was --disable-cgi
./configure --prefix=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-zlib-dir=/opt/freeware/lib --enable-shared --disable-static --with-png --with-xml --with-jpeg-dir=/opt/freeware/lib --with-png-dir=/opt/freeware/lib --with-xpm-dir=/opt/freeware/lib --with-freetype-dir=/opt/freeware/lib --with-mysql=/usr/local/mysql --enable-cli
Now trying with enable-cgi as well.