The compile option is used when installing PHP, not on the individual PHP pages.
You will need to discuss with the systems administrator your requirements to connect to Oracle, as they will need to instal Oracle on the server, as well as recompile the PHP instal with the Oracle options.
If the uni already has Oracle installed and PHP compiled to use Oracle then your problems with connection lie in your code.