on windows its oci_plogon function and to query you use the oci_parse with the oci_execute and oci_fetchinto to get the data on unix you will need to configure php with oracle modules specifing ./configure --with-oci8=$ORACLE_HOME this is if you have an oracel_home env variable otherwise specify the path to your oracle home and this involves installing the oracle client on your system