Benny,
I setup the same configuration, recently. You need to specify the --with-OCI8 tag (see ./configure --help). You do not need to compile PHP as static (I didn't). Since you were able to compile, I assume that gcc, make, and /usr/ccs/bin are in your path. Also, ensure that the LD_LIBRARY_PATH is exported.
Good luck,
Todd